highprecisionpso::VectorOperation Class Referenceabstract
This class is an abstract class. It supplies the interface to operate on vectors of mpf_t values. More...
#include <general_objects.h>
Inheritance diagram for highprecisionpso::VectorOperation:
Public Member Functions | |
virtual | ~VectorOperation () |
The destructor. More... | |
virtual std::string | GetName ()=0 |
Returns a string representation of this object. More... | |
virtual std::vector< mpf_t * > | Operate (std::vector< mpf_t * > vec)=0 |
Calculates a operation of the supplied vector. More... | |
Detailed Description
This class is an abstract class. It supplies the interface to operate on vectors of mpf_t values.
Constructor & Destructor Documentation
|
inlinevirtual |
The destructor.
Member Function Documentation
|
pure virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implemented in highprecisionpso::DistTo1DOptimumOperation.
|
pure virtual |
Calculates a operation of the supplied vector.
- Parameters
-
vec The vector which should be the base of operation.
- Returns
- The result of the operation on the given vector.
Implemented in highprecisionpso::DistTo1DOptimumOperation.
The documentation for this class was generated from the following file:
- src/general/general_objects.h