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

Public Member Functions | |
| Problem (const Adapter *input, ParameterList *params) | |
| Constructor where communicator is Teuchos default. More... | |
| Problem (const Adapter *input, ParameterList *params, const RCP< const Comm< int > > &comm) | |
| Constructor where Teuchos communicator is specified. More... | |
| virtual | ~Problem () |
| Destructor. More... | |
| RCP< const Comm< int > > | getComm () |
| Return the communicator used by the problem. 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 |
| Return the communicator passed to the problem. More... | |
| const RCP< const Environment > & | getEnvironment () const |
| Get the current Environment. Useful for testing. More... | |
Static Public Member Functions | |
| static void | getValidParameters (ParameterList &pl) |
Protected Types | |
| typedef Adapter::base_adapter_t | base_adapter_t |
Protected Attributes | |
| RCP< const Adapter > | inputAdapter_ |
| RCP< const 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< Algorithm< Adapter > > | algorithm_ |
| 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 70 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 211 of file Zoltan2_Problem.hpp.
|
inline |
Constructor where communicator is Teuchos default.
Definition at line 75 of file Zoltan2_Problem.hpp.
|
inline |
Constructor where Teuchos communicator is specified.
Definition at line 90 of file Zoltan2_Problem.hpp.
|
inlinevirtual |
Destructor.
Definition at line 123 of file Zoltan2_Problem.hpp.
|
inline |
Return the communicator used by the problem.
Definition at line 127 of file Zoltan2_Problem.hpp.
| void Zoltan2::Problem< Adapter >::resetParameters | ( | ParameterList * | params | ) |
Reset the list of parameters.
Definition at line 328 of file Zoltan2_Problem.hpp.
|
pure virtual |
Method that creates a solution.
Implemented in Zoltan2::PartitioningProblem< Adapter >, Zoltan2::OrderingProblem< Adapter >, Zoltan2::ColoringProblem< Adapter >, and Zoltan2::MappingProblem< Adapter, MachineRep >.
|
inline |
Return the communicator passed to the problem.
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 156 of file Zoltan2_Problem.hpp.
|
inlinestatic |
Definition at line 164 of file Zoltan2_Problem.hpp.
|
inline |
Get the current Environment. Useful for testing.
Definition at line 198 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 213 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 214 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 216 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 217 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 218 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 224 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 227 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 229 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 230 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 236 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 241 of file Zoltan2_Problem.hpp.
|
protected |
Definition at line 245 of file Zoltan2_Problem.hpp.
1.8.11