Zoltan2
|
ColoringProblem sets up coloring problems for the user. More...
#include <Zoltan2_ColoringProblem.hpp>
Public Types | |
typedef Adapter::scalar_t | scalar_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 | ~ColoringProblem () |
Destructor. More... | |
ColoringProblem (Adapter *A, ParameterList *p) | |
Constructor that uses a default communicator. More... | |
void | solve (bool updateInputData=true) |
Direct the problem to create a solution. More... | |
ColoringSolution< Adapter > * | getSolution () |
Get the solution to the problem. More... | |
![]() | |
Problem (const Adapter *input, ParameterList *params) | |
Constructor where communicator is Teuchos default. More... | |
Problem (const Adapter *input, ParameterList *params, 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... | |
void | printTimers () const |
Return the communicator passed to the problem. More... | |
Additional Inherited Members | |
![]() | |
typedef Adapter::base_adapter_t | base_adapter_t |
![]() | |
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_ |
ColoringProblem sets up coloring problems for the user.
The ColoringProblem is the core of the Zoltan2 coloring API. Based on the the user's input and parameters, the ColoringProblem sets up a computational Model, and a Solution object. When the user calls the solve() method, the ColoringProblem 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 90 of file Zoltan2_ColoringProblem.hpp.
typedef Adapter::scalar_t Zoltan2::ColoringProblem< Adapter >::scalar_t |
Definition at line 94 of file Zoltan2_ColoringProblem.hpp.
typedef Adapter::gno_t Zoltan2::ColoringProblem< Adapter >::gno_t |
Definition at line 95 of file Zoltan2_ColoringProblem.hpp.
typedef Adapter::lno_t Zoltan2::ColoringProblem< Adapter >::lno_t |
Definition at line 96 of file Zoltan2_ColoringProblem.hpp.
typedef Adapter::user_t Zoltan2::ColoringProblem< Adapter >::user_t |
Definition at line 97 of file Zoltan2_ColoringProblem.hpp.
typedef Adapter::base_adapter_t Zoltan2::ColoringProblem< Adapter >::base_adapter_t |
Definition at line 98 of file Zoltan2_ColoringProblem.hpp.
|
inlinevirtual |
Destructor.
Definition at line 106 of file Zoltan2_ColoringProblem.hpp.
|
inline |
Constructor that uses a default communicator.
Definition at line 122 of file Zoltan2_ColoringProblem.hpp.
|
virtual |
Direct the problem to create a solution.
Implements Zoltan2::Problem< Adapter >.
Definition at line 168 of file Zoltan2_ColoringProblem.hpp.
|
inline |
Get the solution to the problem.
Definition at line 150 of file Zoltan2_ColoringProblem.hpp.