This an abstract class. It supplies the interface for reducing a vector of mpf_t values to a single value. More...
#include <general_objects.h>
Public Member Functions | |
virtual | ~VectorReduceOperation () |
The destructor. More... | |
virtual mpf_t * | Evaluate (const std::vector< mpf_t * > &vec)=0 |
Reduces the entries of the vector to a single value. More... | |
virtual std::string | GetName ()=0 |
Returns a string representation of this object. More... | |
Detailed Description
This an abstract class. It supplies the interface for reducing a vector of mpf_t values to a single value.
Constructor & Destructor Documentation
|
inlinevirtual |
The destructor.
Member Function Documentation
|
pure virtual |
Reduces the entries of the vector to a single value.
- Parameters
-
vec The vector which should be reduced.
- Returns
- The reduced value.
Implemented in highprecisionpso::ObjectiveFunctionEvaluationReduceOperation, highprecisionpso::FunctionEvaluationReduceOperation, highprecisionpso::MinimalValueReduceOperation, highprecisionpso::MaximalValueReduceOperation, highprecisionpso::ProductReduceOperation, highprecisionpso::SumReduceOperation, highprecisionpso::GeometricAverageReduceOperation, highprecisionpso::ArithmeticAverageReduceOperation, highprecisionpso::IncreasingOrderNthObjectReduceOperation, and highprecisionpso::SpecificIdReduceOperation.
|
pure virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implemented in highprecisionpso::ObjectiveFunctionEvaluationReduceOperation, highprecisionpso::FunctionEvaluationReduceOperation, highprecisionpso::MinimalValueReduceOperation, highprecisionpso::MaximalValueReduceOperation, highprecisionpso::ProductReduceOperation, highprecisionpso::SumReduceOperation, highprecisionpso::GeometricAverageReduceOperation, highprecisionpso::ArithmeticAverageReduceOperation, highprecisionpso::IncreasingOrderNthObjectReduceOperation, and highprecisionpso::SpecificIdReduceOperation.
The documentation for this class was generated from the following file:
- src/general/general_objects.h