Zoltan2
|
#include <Zoltan2_MetricAnalyzer.hpp>
Public Member Functions | |
MetricAnalyzer (RCP< Zoltan2::EvaluateBaseClass< Adapter >> evaluate) | |
MetricAnalyzer constructor takes an EvaluateBaseClass such as EvaluateOrdering or EvaluatePartition. More... | |
bool | analyzeMetrics (const ParameterList &metricsParameters, std::ostringstream &msg_stream) |
analyzeMetrics for a problem based on a range of tolerances More... | |
virtual MetricAnalyzerInfo | getMetricResult (const ParameterList &metricCheckParameters, std::string keyWord) const =0 |
getMetricValue is abstract and the derived class must define the proper method to check optional values and determine the resulting scalar value. The derived class will also throw if formatting is incorrect. More... | |
void | LoadMetricInfo (std::vector< MetricAnalyzerInfo > &metricInfoSet, const ParameterList &metricsParameters) |
MetricAnalyzerInfo | getMetricAnalyzerInfo (const ParameterList &metricCheckParameters) const |
getMetricAnalyzerInfo is responsible for reading a metric value and then checking it against upper and lower bounds. Any fomratting errors should throw. More... | |
virtual bool | isMetricCheckNameValid (std::string metricCheckName) const |
Return true for any names we accept. More... | |
Protected Attributes | |
RCP < Zoltan2::EvaluateBaseClass < Adapter > > | evaluate_ |
Definition at line 82 of file Zoltan2_MetricAnalyzer.hpp.
|
inline |
MetricAnalyzer constructor takes an EvaluateBaseClass such as EvaluateOrdering or EvaluatePartition.
Definition at line 95 of file Zoltan2_MetricAnalyzer.hpp.
|
inline |
analyzeMetrics for a problem based on a range of tolerances
metricsPlist | parameter list defining tolerances | |
[out] | msg_stream | to return information from the analysis |
Definition at line 104 of file Zoltan2_MetricAnalyzer.hpp.
|
pure virtual |
getMetricValue is abstract and the derived class must define the proper method to check optional values and determine the resulting scalar value. The derived class will also throw if formatting is incorrect.
Implemented in MetricAnalyzerEvaluateOrdering< Adapter >, and MetricAnalyzerEvaluatePartition< Adapter >.
|
inline |
Definition at line 149 of file Zoltan2_MetricAnalyzer.hpp.
|
inline |
getMetricAnalyzerInfo is responsible for reading a metric value and then checking it against upper and lower bounds. Any fomratting errors should throw.
Definition at line 180 of file Zoltan2_MetricAnalyzer.hpp.
|
inlinevirtual |
Return true for any names we accept.
Reimplemented in MetricAnalyzerEvaluatePartition< Adapter >.
Definition at line 231 of file Zoltan2_MetricAnalyzer.hpp.
|
protected |
Definition at line 85 of file Zoltan2_MetricAnalyzer.hpp.