This class is an abstract class. It supplies the interface for reducing two mpf_t values to a single value. More...
#include <general_objects.h>
Public Member Functions | |
virtual | ~PairReduceOperation () |
The destructor. More... | |
virtual mpf_t * | Evaluate (mpf_t *value1, mpf_t *value2)=0 |
Reduces two values to a single value. More... | |
virtual std::string | GetName ()=0 |
Returns a string representation of this object. More... | |
Detailed Description
This class is an abstract class. It supplies the interface for reducing two mpf_t values to a single value.
Constructor & Destructor Documentation
|
inlinevirtual |
The destructor.
Member Function Documentation
|
pure virtual |
Reduces two values to a single value.
- Parameters
-
value1 The first value which should be reduced. value2 The second value which should be reduced.
- Returns
- The reduced value.
Implemented in highprecisionpso::MaxOperation, highprecisionpso::MinOperation, highprecisionpso::DivideOperation, highprecisionpso::MultiplyOperation, highprecisionpso::SubtractOperation, and highprecisionpso::AddOperation.
|
pure virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implemented in highprecisionpso::MaxOperation, highprecisionpso::MinOperation, highprecisionpso::DivideOperation, highprecisionpso::MultiplyOperation, highprecisionpso::SubtractOperation, and highprecisionpso::AddOperation.
The documentation for this class was generated from the following file:
- src/general/general_objects.h