highprecisionpso::IdentitySpecificFunction Class Reference
This class implements a specific function with an evaluation function that clones the input. More...
#include <specific_functions.h>
Inheritance diagram for highprecisionpso::IdentitySpecificFunction:
Public Member Functions | |
std::vector< mpf_t * > | Eval (const std::vector< mpf_t * > &pos) |
Returns the evaluation of the cloned position vector. More... | |
std::string | GetName () |
Returns a string representation of this object. More... | |
Public Member Functions inherited from highprecisionpso::SpecificFunction | |
virtual | ~SpecificFunction () |
The destructor. More... | |
Detailed Description
This class implements a specific function with an evaluation function that clones the input.
Member Function Documentation
|
virtual |
Returns the evaluation of the cloned position vector.
- Parameters
-
pos The position.
- Returns
- The cloned vector.
Implements highprecisionpso::SpecificFunction.
|
virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implements highprecisionpso::SpecificFunction.
The documentation for this class was generated from the following file:
- src/function/specific_functions.h