|
Zoltan2
Version of the Day
|
OrderingProblem sets up ordering problems for the user. More...
#include <Zoltan2_OrderingProblem.hpp>


Public Types | |
| typedef Adapter::scalar_t | scalar_t |
| typedef Adapter::gid_t | gid_t |
| typedef Adapter::gno_t | gno_t |
| typedef Adapter::lno_t | lno_t |
| typedef Adapter::user_t | user_t |
| typedef Adapter::base_adapter_t | base_adapter_t |
Public Member Functions | |
| virtual | ~OrderingProblem () |
| Destructor. More... | |
| OrderingProblem (Adapter *A, ParameterList *p) | |
| Constructor that uses a default communicator. More... | |
| void | solve (bool updateInputData=true) |
| Direct the problem to create a solution. More... | |
| OrderingSolution< gid_t, lno_t > * | getSolution () |
| Get the solution to the problem. More... | |
| void | resetParameters (ParameterList *params) |
| Reset the list of parameters. More... | |
| void | printTimers () const |
| If timer data was collected, print out global data. More... | |
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_ |
OrderingProblem sets up ordering problems for the user.
The OrderingProblem is the core of the Zoltan2 ordering API. Based on the the user's input and parameters, the OrderingProblem sets up a computational Model, and a Solution object. When the user calls the solve() method, the OrderingProblem runs the algorithm, after which the Solution object may be obtained by the user.
The template parameter is the InputAdapter containing the data that is to be partitioned.
Definition at line 88 of file Zoltan2_OrderingProblem.hpp.
| typedef Adapter::scalar_t Zoltan2::OrderingProblem< Adapter >::scalar_t |
Definition at line 92 of file Zoltan2_OrderingProblem.hpp.
| typedef Adapter::gid_t Zoltan2::OrderingProblem< Adapter >::gid_t |
Definition at line 93 of file Zoltan2_OrderingProblem.hpp.
| typedef Adapter::gno_t Zoltan2::OrderingProblem< Adapter >::gno_t |
Definition at line 94 of file Zoltan2_OrderingProblem.hpp.
| typedef Adapter::lno_t Zoltan2::OrderingProblem< Adapter >::lno_t |
Definition at line 95 of file Zoltan2_OrderingProblem.hpp.
| typedef Adapter::user_t Zoltan2::OrderingProblem< Adapter >::user_t |
Definition at line 96 of file Zoltan2_OrderingProblem.hpp.
| typedef Adapter::base_adapter_t Zoltan2::OrderingProblem< Adapter >::base_adapter_t |
Definition at line 97 of file Zoltan2_OrderingProblem.hpp.
|
inlinevirtual |
Destructor.
Definition at line 105 of file Zoltan2_OrderingProblem.hpp.
|
inline |
Constructor that uses a default communicator.
Definition at line 121 of file Zoltan2_OrderingProblem.hpp.
|
virtual |
Direct the problem to create a solution.
Implements Zoltan2::Problem< Adapter >.
Definition at line 168 of file Zoltan2_OrderingProblem.hpp.
|
inline |
Get the solution to the problem.
Definition at line 149 of file Zoltan2_OrderingProblem.hpp.
|
inherited |
Reset the list of parameters.
Definition at line 270 of file Zoltan2_Problem.hpp.
|
inlineinherited |
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.
|
protectedinherited |
Definition at line 128 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 129 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 131 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 132 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 133 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 139 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 141 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 142 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 148 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 153 of file Zoltan2_Problem.hpp.
|
protectedinherited |
Definition at line 157 of file Zoltan2_Problem.hpp.
1.8.11