highprecisionpso::CombineStatistic Class Reference

This class implements a statistic, which combines two statistics by a combination operation. More...

#include <direct_statistics.h>

Inheritance diagram for highprecisionpso::CombineStatistic:

Public Member Functions

 CombineStatistic (PairReduceOperation *operation, Statistic *operator1, Statistic *operator2)
 The constructor, where the combination operation and the statistics, which will be combined, can be specified. More...
 
std::vector< mpf_t * > Evaluate ()
 Evaluates the two specified statistics and combines them. 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 combines two statistics by a combination operation.

Constructor & Destructor Documentation

highprecisionpso::CombineStatistic::CombineStatistic ( PairReduceOperation operation,
Statistic operator1,
Statistic operator2 
)

The constructor, where the combination operation and the statistics, which will be combined, can be specified.

Parameters
operationThe operation, which determines how the statistics will be combined.
operator1The first statistic, which will be combined.
operator2The second statistic, which will be combined.

Member Function Documentation

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

Evaluates the two specified statistics and combines them.

Returns
The result of the statistical evaluations.

Implements highprecisionpso::Statistic.

std::string highprecisionpso::CombineStatistic::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: