This class is an abstract class. It supplies the interface for generating a constant value. More...
#include <general_objects.h>
Public Member Functions | |
virtual | ~ConstantEvaluation () |
The destructor. More... | |
virtual mpf_t * | Evaluate ()=0 |
Returns the predefined constant value specified by this constant evaluation. 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 generating a constant value.
Constructor & Destructor Documentation
|
inlinevirtual |
The destructor.
Member Function Documentation
|
pure virtual |
Returns the predefined constant value specified by this constant evaluation.
- Returns
- The constant value.
Implemented in highprecisionpso::MinusInfinityConstantEvaluation, highprecisionpso::PlusInfinityConstantEvaluation, highprecisionpso::EConstantEvaluation, highprecisionpso::PiConstantEvaluation, and highprecisionpso::DoubleConstantEvaluation.
|
pure virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implemented in highprecisionpso::MinusInfinityConstantEvaluation, highprecisionpso::PlusInfinityConstantEvaluation, highprecisionpso::EConstantEvaluation, highprecisionpso::PiConstantEvaluation, and highprecisionpso::DoubleConstantEvaluation.
The documentation for this class was generated from the following file:
- src/general/general_objects.h