highprecisionpso::ComposedStatisticReduceOperation Class Referenceabstract

This class is an abstract class. Additionally to the statistic reduce operation it stores a vector reduce operation, which determines how specific statistical evaluations should be reduced. More...

#include <specific_statistical_evaluations.h>

Inheritance diagram for highprecisionpso::ComposedStatisticReduceOperation:

Public Member Functions

 ComposedStatisticReduceOperation (VectorReduceOperation *vector_reduce_operation)
 The constructor, where the reduce operation can be specified. More...
 
std::vector< mpf_t * > Evaluate (const std::vector< std::vector< mpf_t * > > &vec)=0
 Reduces the entries of the given data matrix to a vector. More...
 
std::string GetName ()=0
 Returns a string representation of this object. More...
 
- Public Member Functions inherited from highprecisionpso::StatisticReduceOperation
virtual ~StatisticReduceOperation ()
 

Protected Attributes

VectorReduceOperationvector_reduce_operation
 The stored vector reduce operation. More...
 

Detailed Description

This class is an abstract class. Additionally to the statistic reduce operation it stores a vector reduce operation, which determines how specific statistical evaluations should be reduced.

Constructor & Destructor Documentation

highprecisionpso::ComposedStatisticReduceOperation::ComposedStatisticReduceOperation ( VectorReduceOperation vector_reduce_operation)

The constructor, where the reduce operation can be specified.

Parameters
vector_reduce_operationThe reduce operation.

Member Function Documentation

std::vector<mpf_t*> highprecisionpso::ComposedStatisticReduceOperation::Evaluate ( const std::vector< std::vector< mpf_t * > > &  data)
pure virtual

Reduces the entries of the given data matrix to a vector.

Parameters
dataThe data matrix.
Returns
The reduced vector.

Implements highprecisionpso::StatisticReduceOperation.

Implemented in highprecisionpso::ComposedDimensionReduceOperation, and highprecisionpso::ComposedParticleReduceOperation.

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

Returns a string representation of this object.

Returns
The name of this object.

Implements highprecisionpso::StatisticReduceOperation.

Implemented in highprecisionpso::ComposedDimensionReduceOperation, and highprecisionpso::ComposedParticleReduceOperation.

Member Data Documentation

VectorReduceOperation* highprecisionpso::ComposedStatisticReduceOperation::vector_reduce_operation
protected

The stored vector reduce operation.


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