highprecisionpso::ObjectiveFunctionEvaluationReduceOperation Class Reference

This vector reduce operation reduces a vector by evaluation of the specified objective function. More...

#include <general_objects.h>

Inheritance diagram for highprecisionpso::ObjectiveFunctionEvaluationReduceOperation:

Public Member Functions

 ObjectiveFunctionEvaluationReduceOperation ()
 The constructor. More...
 
mpf_t * Evaluate (const std::vector< mpf_t * > &vec)
 Reduces the vector by evaluation of the specified objective function in the configuration section. More...
 
std::string GetName ()
 Returns a string representation of this object. More...
 
- Public Member Functions inherited from highprecisionpso::VectorReduceOperation
virtual ~VectorReduceOperation ()
 The destructor. More...
 

Detailed Description

This vector reduce operation reduces a vector by evaluation of the specified objective function.

Constructor & Destructor Documentation

highprecisionpso::ObjectiveFunctionEvaluationReduceOperation::ObjectiveFunctionEvaluationReduceOperation ( )

The constructor.

Member Function Documentation

mpf_t* highprecisionpso::ObjectiveFunctionEvaluationReduceOperation::Evaluate ( const std::vector< mpf_t * > &  vec)
virtual

Reduces the vector by evaluation of the specified objective function in the configuration section.

Parameters
vecThe vector which should be reduced.
Returns
The result of the evaluation of the specified objective function with input vector vec.

Implements highprecisionpso::VectorReduceOperation.

std::string highprecisionpso::ObjectiveFunctionEvaluationReduceOperation::GetName ( )
virtual

Returns a string representation of this object.

Returns
The name of the object.

Implements highprecisionpso::VectorReduceOperation.


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