highprecisionpso::AddOperation Class Reference
This pair combination operation reduces two values by addition. More...
#include <general_objects.h>
Inheritance diagram for highprecisionpso::AddOperation:
Public Member Functions | |
mpf_t * | Evaluate (mpf_t *value1, mpf_t *value2) |
Reduces the two values by adding them. More... | |
std::string | GetName () |
Returns a string representation of this object. More... | |
Public Member Functions inherited from highprecisionpso::PairReduceOperation | |
virtual | ~PairReduceOperation () |
The destructor. More... | |
Detailed Description
This pair combination operation reduces two values by addition.
Member Function Documentation
|
virtual |
Reduces the two values by adding them.
- Parameters
-
value1 The first value which should be reduced. value2 The second value which should be reduced.
- Returns
- The sum of value1 and value2
Implements highprecisionpso::PairReduceOperation.
|
virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implements highprecisionpso::PairReduceOperation.
The documentation for this class was generated from the following file:
- src/general/general_objects.h