highprecisionpso::LocalAttractorUpdatesStatistic Class Reference

This class implements a statistic, which evaluates how often each particle updates its local attractor. More...

#include <direct_statistics.h>

Inheritance diagram for highprecisionpso::LocalAttractorUpdatesStatistic:

Public Member Functions

std::vector< mpf_t * > Evaluate ()
 Returns for each particle the number of updates of its local attractor. More...
 
std::string GetName ()
 Returns a string representation of this object. More...
 
- Public Member Functions inherited from highprecisionpso::Statistic
virtual ~Statistic ()
 
std::string EvaluationToString ()
 Calls the normal evaluation function and transforms the result to a string. More...
 

Detailed Description

This class implements a statistic, which evaluates how often each particle updates its local attractor.

Member Function Documentation

std::vector<mpf_t*> highprecisionpso::LocalAttractorUpdatesStatistic::Evaluate ( )
virtual

Returns for each particle the number of updates of its local attractor.

Returns
The number of local attractor updates for each particle.

Implements highprecisionpso::Statistic.

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

Returns a string representation of this object.

Returns
The name of the object.

Implements highprecisionpso::Statistic.


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