Zoltan2
|
#include <Zoltan2_GraphMetrics.hpp>
Public Member Functions | |
GraphMetrics (std::string mname) | |
Constructor. More... | |
GraphMetrics () | |
Constructor. More... | |
virtual const std::string & | getMetricType () const |
Get the class type of the metric. More... | |
virtual void | printLine (std::ostream &os) const |
Print a standard line of data that fits under the header. More... | |
void | setGlobalSum (scalar_t x) |
Set the global sum. More... | |
void | setGlobalMax (scalar_t x) |
Set the global maximum across parts. More... | |
scalar_t | getGlobalSum () const |
Get the global sum of edge cuts for all parts. More... | |
scalar_t | getGlobalMax () const |
Get the global maximum of edge cuts per part across all parts. More... | |
virtual const std::vector < std::string > & | getMetrics () const |
Public Member Functions inherited from Zoltan2::BaseClassMetrics< scalar_t > | |
BaseClassMetrics () | |
Constructor - for compiling but not used. More... | |
BaseClassMetrics (int memCount, std::string mname) | |
Constructor. More... | |
BaseClassMetrics (int memCount) | |
Constructor. More... | |
virtual | ~BaseClassMetrics () |
const std::string & | getName () const |
Get the name of the item measured. More... | |
void | setName (std::string name) |
Set or reset the name. More... | |
bool | hasMetricValue (const std::string &metric_name) const |
scalar_t | getMetricValue (const std::string &metric_name) const |
void | setMetricValue (const std::string &metric_name, scalar_t value) const |
size_t | convertMetricNameToIndex (const std::string &metric_name) const |
Static Public Member Functions | |
static void | printHeader (std::ostream &os) |
Print a standard header. More... | |
Static Public Attributes | |
static std::vector< std::string > | static_metricNames_ |
static std::string | static_metricTypeName_ = GRAPH_METRICS_TYPE_NAME |
Static Public Attributes inherited from Zoltan2::BaseClassMetrics< scalar_t > | |
static std::string | static_unknown_metricTypeName_ |
static std::vector< std::string > | static_metricNames_ = {} |
static std::vector< std::string > | static_allMetricNames_ |
class containing the metrics for one measurable item.
Definition at line 26 of file Zoltan2_GraphMetrics.hpp.
|
inline |
Constructor.
Definition at line 30 of file Zoltan2_GraphMetrics.hpp.
|
inline |
Constructor.
Definition at line 33 of file Zoltan2_GraphMetrics.hpp.
|
inlinevirtual |
Get the class type of the metric.
Reimplemented from Zoltan2::BaseClassMetrics< scalar_t >.
Definition at line 36 of file Zoltan2_GraphMetrics.hpp.
|
static |
Print a standard header.
Definition at line 78 of file Zoltan2_GraphMetrics.hpp.
|
virtual |
Print a standard line of data that fits under the header.
Reimplemented from Zoltan2::BaseClassMetrics< scalar_t >.
Definition at line 86 of file Zoltan2_GraphMetrics.hpp.
|
inline |
Set the global sum.
Definition at line 45 of file Zoltan2_GraphMetrics.hpp.
|
inline |
Set the global maximum across parts.
Definition at line 48 of file Zoltan2_GraphMetrics.hpp.
|
inline |
Get the global sum of edge cuts for all parts.
Definition at line 51 of file Zoltan2_GraphMetrics.hpp.
|
inline |
Get the global maximum of edge cuts per part across all parts.
Definition at line 54 of file Zoltan2_GraphMetrics.hpp.
|
inlinevirtual |
method is enforced by the base class.
Reimplemented from Zoltan2::BaseClassMetrics< scalar_t >.
Definition at line 57 of file Zoltan2_GraphMetrics.hpp.
|
static |
a static vector of strings.
all metrics for this class.
Definition at line 60 of file Zoltan2_GraphMetrics.hpp.
|
static |
a static string name indicating my class name.
class name for string - used to identify by parameter lists.
Definition at line 63 of file Zoltan2_GraphMetrics.hpp.