highprecisionpso::OperatedStatistic Class Reference
This class implements a statistic, which operates on the values of another statistic. More...
#include <direct_statistics.h>
Inheritance diagram for highprecisionpso::OperatedStatistic:
Public Member Functions | |
OperatedStatistic (Operation *operation, Statistic *statistic) | |
The constructor, where the operation and the statistic can be specified. More... | |
std::vector< mpf_t * > | Evaluate () |
Evaluates the specified statistic and operates on its values by the specified operation. 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, which operates on the values of another statistic.
Constructor & Destructor Documentation
highprecisionpso::OperatedStatistic::OperatedStatistic | ( | Operation * | operation, |
Statistic * | statistic | ||
) |
The constructor, where the operation and the statistic can be specified.
- Parameters
-
operation The operation operation, which will be performed on the statistic. statistic The statistic, which will be operated on.
Member Function Documentation
|
virtual |
Evaluates the specified statistic and operates on its values by the specified operation.
- 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