|
Zoltan2
Version of the Day
|
Problem base class from which other classes (PartitioningProblem, ColoringProblem, OrderingProblem, MatchingProblem, etc.) derive. More...
#include <Zoltan2_Problem.hpp>

Public Member Functions | |
| Problem (Adapter *, ParameterList *params) | |
| Constructor where communicator is Teuchos default. More... | |
| virtual | ~Problem () |
| Destructor. More... | |
| void | resetParameters (ParameterList *params) |
| Reset the list of parameters. More... | |
| virtual void | solve (bool updateInputData)=0 |
| Method that creates a solution. More... | |
| void | printTimers () const |
| If timer data was collected, print out global data. More... | |
Protected Types | |
| typedef Adapter::base_adapter_t | base_adapter_t |
Protected Attributes | |
| Adapter * | inputAdapter_ |
| base_adapter_t * | baseInputAdapter_ |
| RCP< GraphModel< base_adapter_t > > | graphModel_ |
| RCP< IdentifierModel < base_adapter_t > > | identifierModel_ |
| RCP< CoordinateModel < base_adapter_t > > | coordinateModel_ |
| RCP< const Model < base_adapter_t > > | baseModel_ |
| RCP< ParameterList > | params_ |
| RCP< const Comm< int > > | comm_ |
| RCP< Environment > | env_ |
| RCP< const Environment > | envConst_ |
| RCP< TimerManager > | timer_ |
Problem base class from which other classes (PartitioningProblem, ColoringProblem, OrderingProblem, MatchingProblem, etc.) derive.
Definition at line 69 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 126 of file Zoltan2_Problem.hpp.
| Zoltan2::Problem< Adapter >::Problem | ( | Adapter * | input, |
| ParameterList * | params | ||
| ) |
Constructor where communicator is Teuchos default.
Definition at line 181 of file Zoltan2_Problem.hpp.
|
inlinevirtual |
Destructor.
Definition at line 84 of file Zoltan2_Problem.hpp.
| void Zoltan2::Problem< Adapter >::resetParameters | ( | ParameterList * | params | ) |
Reset the list of parameters.
Definition at line 270 of file Zoltan2_Problem.hpp.
|
pure virtual |
Method that creates a solution.
Implemented in Zoltan2::OrderingProblem< Adapter >, and Zoltan2::PartitioningProblem< Adapter >.
|
inline |
If timer data was collected, print out global data.
If the parameter "timer_output_stream" or "timer_output_file" was set, then timing statistics are available and will be printed out to the requested output stream with this call.
All processes in the application must call this, even if they were not all in the problem communicator. All timers are reset back to zero after this call.
Timer starts, stops and displays are ignored if Zoltan2 is compiled with Z2_OMIT_ALL_ERROR_CHECKING.
Definition at line 110 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 128 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 129 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 131 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 132 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 133 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 139 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 141 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 142 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 148 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 153 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 157 of file Zoltan2_Problem.hpp.
1.8.5