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

virtual highprecisionpso::SpecificFunction::~SpecificFunction ( )
inlinevirtual

The destructor.

Member Function Documentation

virtual std::vector<mpf_t*> highprecisionpso::SpecificFunction::Eval ( const std::vector< mpf_t * > &  pos)
pure virtual

Returns the evaluation of the current specific function at the given position.

Parameters
posThe position.
Returns
The vector of function values of the position.

Implemented in highprecisionpso::CombineSpecificFunction, highprecisionpso::OperatedSpecificFunction, highprecisionpso::IdentitySpecificFunction, and highprecisionpso::ConstantSpecificFunction.

virtual std::string highprecisionpso::SpecificFunction::GetName ( )
pure virtual

The documentation for this class was generated from the following file: