highprecisionpso::NamedStatistic Class Reference
This class implements a statistic, where the name is set manually. More...
#include <direct_statistics.h>
Inheritance diagram for highprecisionpso::NamedStatistic:
Public Member Functions | |
NamedStatistic (std::string name, Statistic *statistic) | |
The constructor, where the name and the actual statistic can be specified. More... | |
std::vector< mpf_t * > | Evaluate () |
Performs some statistical evaluations. More... | |
std::string | GetName () |
Returns a string representation of this object. More... | |
Public Member Functions inherited from highprecisionpso::Statistic | |
virtual | ~Statistic () |
std::string | EvaluationToString () |
Calls the normal evaluation function and transforms the result to a string. More... | |
Detailed Description
This class implements a statistic, where the name is set manually.
Constructor & Destructor Documentation
highprecisionpso::NamedStatistic::NamedStatistic | ( | std::string | name, |
Statistic * | statistic | ||
) |
The constructor, where the name and the actual statistic can be specified.
- Parameters
-
name The name of this statistic. statistic The actual statistic, which will be evaluated.
Member Function Documentation
|
virtual |
Performs some statistical evaluations.
- Returns
- The result of the statistical evaluations.
Implements highprecisionpso::Statistic.
|
virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implements highprecisionpso::Statistic.
The documentation for this class was generated from the following file:
- src/statistics/direct_statistics.h