Problem base class from which other classes (PartitioningProblem, ColoringProblem, OrderingProblem, MatchingProblem, etc.) derive.
More...
#include <Zoltan2_Problem.hpp>
|
| Problem (const Adapter *input, ParameterList *params, const RCP< const Comm< int > > &comm) |
| Constructor where Teuchos communicator is specified.
|
|
virtual | ~Problem () |
| Destructor.
|
|
RCP< const Comm< int > > | getComm () |
| Return the communicator used by the problem.
|
|
void | resetParameters (ParameterList *params) |
| Reset the list of parameters.
|
|
void | printTimers () const |
| Return the communicator passed to the problem.
|
|
const RCP< const Environment > & | getEnvironment () const |
| Get the current Environment. Useful for testing.
|
|
virtual | ~ProblemRoot () |
|
virtual RCP< const Comm< int > > | getComm ()=0 |
|
virtual void | solve (bool updateInputData=true)=0 |
| Method that creates a solution.
|
|
template<typename Adapter>
class Zoltan2::Problem< Adapter >
Problem base class from which other classes (PartitioningProblem, ColoringProblem, OrderingProblem, MatchingProblem, etc.) derive.
Definition at line 84 of file Zoltan2_Problem.hpp.
◆ base_adapter_t
template<typename Adapter >
◆ Problem()
template<typename Adapter >
Zoltan2::Problem< Adapter >::Problem |
( |
const Adapter * |
input, |
|
|
ParameterList * |
params, |
|
|
const RCP< const Comm< int > > & |
comm |
|
) |
| |
|
inline |
◆ ~Problem()
template<typename Adapter >
◆ getComm()
template<typename Adapter >
◆ resetParameters()
template<typename Adapter >
◆ printTimers()
template<typename Adapter >
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 135 of file Zoltan2_Problem.hpp.
◆ getValidParameters()
template<typename Adapter >
static void Zoltan2::Problem< Adapter >::getValidParameters |
( |
ParameterList & |
pl | ) |
|
|
inlinestatic |
◆ getEnvironment()
template<typename Adapter >
◆ inputAdapter_
template<typename Adapter >
◆ baseInputAdapter_
template<typename Adapter >
◆ algorithm_
template<typename Adapter >
◆ params_
template<typename Adapter >
◆ comm_
template<typename Adapter >
◆ env_
template<typename Adapter >
◆ envConst_
template<typename Adapter >
◆ timer_
template<typename Adapter >
The documentation for this class was generated from the following file: