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
operationThe operation operation, which will be performed on the statistic.
statisticThe statistic, which will be operated on.

Member Function Documentation

std::vector<mpf_t*> highprecisionpso::OperatedStatistic::Evaluate ( )
virtual

Evaluates the specified statistic and operates on its values by the specified operation.

Returns
The result of the statistical evaluations.

Implements highprecisionpso::Statistic.

std::string highprecisionpso::OperatedStatistic::GetName ( )
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: