|
Zoltan2
|
#include <Zoltan2_PartitioningSolutionQuality.hpp>
Public Member Functions | |
| GraphPartitioningSolutionQuality (const RCP< const Environment > &env, const RCP< const Comm< int > > &problemComm, const RCP< const GraphModel< typename Adapter::base_adapter_t > > &graph, const RCP< const Adapter > &ia, const RCP< const PartitioningSolution< Adapter > > &soln) | |
| Constructor. More... | |
| ArrayRCP< const GraphMetricValues< scalar_t > > | getGraphMetrics () const |
| Return the graph metric values. More... | |
| void | getWeightCut (scalar_t &cut, int idx=0) const |
| Return the max cut for the requested weight. More... | |
Definition at line 153 of file Zoltan2_PartitioningSolutionQuality.hpp.
| Zoltan2::GraphPartitioningSolutionQuality< Adapter >::GraphPartitioningSolutionQuality | ( | const RCP< const Environment > & | env, |
| const RCP< const Comm< int > > & | problemComm, | ||
| const RCP< const GraphModel< typename Adapter::base_adapter_t > > & | graph, | ||
| const RCP< const Adapter > & | ia, | ||
| const RCP< const PartitioningSolution< Adapter > > & | soln | ||
| ) |
Constructor.
| env | the problem environment |
| problemComm | the problem communicator |
| ia | the problem input adapter |
| soln | the solution |
The constructor does global communication to compute the metrics. The rest of the methods are local.
Definition at line 253 of file Zoltan2_PartitioningSolutionQuality.hpp.
|
inline |
Return the graph metric values.
| values | on return is the array of values. |
Definition at line 189 of file Zoltan2_PartitioningSolutionQuality.hpp.
|
inline |
Return the max cut for the requested weight.
| cut | on return is the requested value. |
| idx | is the weight index reqested, ranging from zero to one less than the number of weights provided in the input. If there were no weights, this is the cut count. |
Definition at line 200 of file Zoltan2_PartitioningSolutionQuality.hpp.
1.8.11