highprecisionpso::SpecificFunction Class Referenceabstract
This class is an abstract class. It supplies an interface for operations on vectors. More...
#include <function.h>
Inheritance diagram for highprecisionpso::SpecificFunction:
Public Member Functions | |
virtual | ~SpecificFunction () |
The destructor. More... | |
virtual std::vector< mpf_t * > | Eval (const std::vector< mpf_t * > &pos)=0 |
Returns the evaluation of the current specific function at the given position. More... | |
virtual std::string | GetName ()=0 |
Returns a string representation of this object. More... | |
Detailed Description
This class is an abstract class. It supplies an interface for operations on vectors.
Constructor & Destructor Documentation
|
inlinevirtual |
The destructor.
Member Function Documentation
|
pure virtual |
Returns the evaluation of the current specific function at the given position.
- Parameters
-
pos The position.
- Returns
- The vector of function values of the position.
Implemented in highprecisionpso::CombineSpecificFunction, highprecisionpso::OperatedSpecificFunction, highprecisionpso::IdentitySpecificFunction, and highprecisionpso::ConstantSpecificFunction.
|
pure virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implemented in highprecisionpso::CombineSpecificFunction, highprecisionpso::OperatedSpecificFunction, highprecisionpso::IdentitySpecificFunction, and highprecisionpso::ConstantSpecificFunction.
The documentation for this class was generated from the following file:
- src/function/function.h