highprecisionpso::OperatedSpecificFunction Class Reference

This class implements a specific function, which combines an operation with a specific function. More...

#include <specific_functions.h>

Inheritance diagram for highprecisionpso::OperatedSpecificFunction:

Public Member Functions

 OperatedSpecificFunction (Operation *operation, SpecificFunction *specific_function)
 The constructor, which specifies the operation and the specific function, which should be combined. More...
 
std::vector< mpf_t * > Eval (const std::vector< mpf_t * > &pos)
 Returns the evaluation of the specified operation on the specified specific function. 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, which combines an operation with a specific function.

Constructor & Destructor Documentation

highprecisionpso::OperatedSpecificFunction::OperatedSpecificFunction ( Operation operation,
SpecificFunction specific_function 
)

The constructor, which specifies the operation and the specific function, which should be combined.

Parameters
operationThe operation.
specific_functionThe specific function.

Member Function Documentation

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

Returns the evaluation of the specified operation on the specified specific function.

Parameters
posThe position.
Returns
The evaluation of the position.

Implements highprecisionpso::SpecificFunction.

std::string highprecisionpso::OperatedSpecificFunction::GetName ( )
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: