highprecisionpso::GlobalAttractorUpdatesStatistic Class Reference

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

#include <direct_statistics.h>

Inheritance diagram for highprecisionpso::GlobalAttractorUpdatesStatistic:

Public Member Functions

std::vector< mpf_t * > Evaluate ()
 Returns for each particle the number of updates of a global attractor enforced by this particle. 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 a global attractor.

Member Function Documentation

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

Returns for each particle the number of updates of a global attractor enforced by this particle.

Returns
The number of global attractor updates enforced by each particle.

Implements highprecisionpso::Statistic.

std::string highprecisionpso::GlobalAttractorUpdatesStatistic::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: