highprecisionpso::PotentialCalculator Class Referenceabstract
This class is an abstract class. It supplies the interface for calculation of some statistical data. More...
#include <potential_calculator.h>
Inheritance diagram for highprecisionpso::PotentialCalculator:
Public Member Functions | |
virtual mpf_t * | Evaluate (Particle *p, int dim)=0 |
Calculates for a specific particle and a specific dimension a statistical value. More... | |
std::vector< std::vector< mpf_t * > > | Evaluate () |
Calculates for all particles and dimensions the statistical values. More... | |
Public Member Functions inherited from highprecisionpso::SpecificStatisticalEvaluation | |
virtual | ~SpecificStatisticalEvaluation () |
virtual std::string | GetName ()=0 |
Returns a string representation of this object. More... | |
Detailed Description
This class is an abstract class. It supplies the interface for calculation of some statistical data.
Member Function Documentation
|
pure virtual |
Calculates for a specific particle and a specific dimension a statistical value.
- Parameters
-
p The particle. dim The dimension index.
- Returns
- The statistical value.
Implemented in highprecisionpso::PotentialSqrtAbsVelocityPlusSqrtDistToGlobalAttractor, highprecisionpso::PotentialAbsVelocityPlusDistToGlobalAttractor, and highprecisionpso::PotentialFunctionDifference.
|
virtual |
Calculates for all particles and dimensions the statistical values.
- Returns
- A matrix containing statistical data.
Implements highprecisionpso::SpecificStatisticalEvaluation.
The documentation for this class was generated from the following file:
- src/statistics/potential_calculator.h