Zoltan2
|
#include <Zoltan2_SphynxProblem.hpp>
Public Types | |
using | part_t = typename Adapter::part_t |
using | weight_t = typename Adapter::scalar_t |
typedef Adapter::base_adapter_t | base_adapter_t |
![]() | |
typedef Adapter::scalar_t | scalar_t |
typedef Adapter::gno_t | gno_t |
typedef Adapter::lno_t | lno_t |
typedef Adapter::part_t | part_t |
typedef Adapter::user_t | user_t |
typedef Adapter::base_adapter_t | base_adapter_t |
Public Member Functions | |
SphynxProblem (Adapter *A, Teuchos::ParameterList *p, RCP< Teuchos::ParameterList > sphynxParams, const RCP< const Teuchos::Comm< int > > &comm) | |
SphynxProblem (Adapter *A, ParameterList *p, RCP< Teuchos::ParameterList > sphynxParams) | |
~SphynxProblem () | |
void | createAlgorithm () override |
void | processAlgorithmName (const std::string &algorithm, const std::string &defString, const std::string &model, Environment &env, bool &removeSelfEdges, bool &isGraphType, bool &needConsecutiveGlobalIds) override |
const PartitioningSolution< Adapter > & | getSolution () |
![]() | |
PartitioningProblem (Adapter *A, ParameterList *p, const RCP< const Teuchos::Comm< int > > &comm) | |
Constructor where Teuchos communicator is specified. | |
PartitioningProblem (Adapter *A, ParameterList *p) | |
Constructor where communicator is the Teuchos default. | |
~PartitioningProblem () | |
Destructor. | |
void | solve (bool updateInputData=true) |
Direct the problem to create a solution. | |
const PartitioningSolution< Adapter > & | getSolution () |
Get the solution to the problem. | |
void | setPartSizes (int len, part_t *partIds, scalar_t *partSizes, bool makeCopy=true) |
Set or reset relative sizes for the parts that Zoltan2 will create. | |
void | setPartSizesForCriteria (int criteria, int len, part_t *partIds, scalar_t *partSizes, bool makeCopy=true) |
Set or reset the relative sizes (per weight) for the parts that Zoltan2 will create. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
static void | getValidParameters (ParameterList &pl) |
Set up validators specific to this Problem. | |
![]() | |
static void | getValidParameters (ParameterList &pl) |
![]() | |
typedef Adapter::base_adapter_t | base_adapter_t |
![]() | |
void | initializeProblem () |
virtual void | processAlgorithmName (const std::string &algorithm, const std::string &defString, const std::string &model, Environment &env, bool &removeSelfEdges, bool &isGraphType, bool &needConsecutiveGlobalIds) |
void | createPartitioningProblem (bool newData) |
virtual void | createAlgorithm () |
![]() | |
RCP< PartitioningSolution< Adapter > > | solution_ |
BaseAdapterType | inputType_ |
modelFlag_t | graphFlags_ |
modelFlag_t | idFlags_ |
modelFlag_t | coordFlags_ |
std::string | algName_ |
int | numberOfWeights_ |
ArrayRCP< ArrayRCP< part_t > > | partIds_ |
ArrayRCP< ArrayRCP< scalar_t > > | partSizes_ |
int | numberOfCriteria_ |
ArrayRCP< int > | levelNumberParts_ |
bool | hierarchical_ |
![]() | |
RCP< const Adapter > | inputAdapter_ |
RCP< const base_adapter_t > | baseInputAdapter_ |
RCP< Algorithm< Adapter > > | algorithm_ |
RCP< ParameterList > | params_ |
RCP< const Comm< int > > | comm_ |
RCP< Environment > | env_ |
RCP< const Environment > | envConst_ |
RCP< TimerManager > | timer_ |
Definition at line 126 of file Zoltan2_SphynxProblem.hpp.
using Zoltan2::SphynxProblem< Adapter >::part_t = typename Adapter::part_t |
Definition at line 131 of file Zoltan2_SphynxProblem.hpp.
using Zoltan2::SphynxProblem< Adapter >::weight_t = typename Adapter::scalar_t |
Definition at line 132 of file Zoltan2_SphynxProblem.hpp.
typedef Adapter::base_adapter_t Zoltan2::SphynxProblem< Adapter >::base_adapter_t |
Definition at line 133 of file Zoltan2_SphynxProblem.hpp.
|
inline |
Definition at line 140 of file Zoltan2_SphynxProblem.hpp.
|
inline |
Definition at line 179 of file Zoltan2_SphynxProblem.hpp.
|
inline |
Definition at line 184 of file Zoltan2_SphynxProblem.hpp.
|
overridevirtual |
Reimplemented from Zoltan2::PartitioningProblem< Adapter >.
Definition at line 228 of file Zoltan2_SphynxProblem.hpp.
|
overridevirtual |
Reimplemented from Zoltan2::PartitioningProblem< Adapter >.
Definition at line 219 of file Zoltan2_SphynxProblem.hpp.
|
inline |
Definition at line 199 of file Zoltan2_SphynxProblem.hpp.