highprecisionpso::DoubleConstantEvaluation Class Reference
This constant evaluation can calculate a predefined mpf_t value from a double value. More...
#include <general_objects.h>
Inheritance diagram for highprecisionpso::DoubleConstantEvaluation:
Public Member Functions | |
DoubleConstantEvaluation (double value) | |
The constructor, where the mpf_t value, which should be generated, can be specified by a double value. More... | |
mpf_t * | Evaluate () |
Returns the converted double value. More... | |
std::string | GetName () |
Returns a string representation of this object. More... | |
Public Member Functions inherited from highprecisionpso::ConstantEvaluation | |
virtual | ~ConstantEvaluation () |
The destructor. More... | |
Detailed Description
This constant evaluation can calculate a predefined mpf_t value from a double value.
Constructor & Destructor Documentation
highprecisionpso::DoubleConstantEvaluation::DoubleConstantEvaluation | ( | double | value | ) |
The constructor, where the mpf_t value, which should be generated, can be specified by a double value.
- Parameters
-
value The value which will be transformed to an mpf_t.
Member Function Documentation
|
virtual |
Returns the converted double value.
- Returns
- The constant value.
Implements highprecisionpso::ConstantEvaluation.
|
virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implements highprecisionpso::ConstantEvaluation.
The documentation for this class was generated from the following file:
- src/general/general_objects.h