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

virtual highprecisionpso::VectorOperation::~VectorOperation ( )
inlinevirtual

The destructor.

Member Function Documentation

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

Returns a string representation of this object.

Returns
The name of the object.

Implemented in highprecisionpso::DistTo1DOptimumOperation.

virtual std::vector<mpf_t*> highprecisionpso::VectorOperation::Operate ( std::vector< mpf_t * >  vec)
pure virtual

Calculates a operation of the supplied vector.

Parameters
vecThe 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: