torus.h
Go to the documentation of this file.
79 std::vector<mpf_t*> GetDirectionVector(const std::vector<mpf_t*> & position, const std::vector<mpf_t*> & aim);
This class implements the bound handling strategy torus for the particle swarm optimization.
Definition: torus.h:53
The particles for the particle swarm optimization algorithm.
Definition: particle.h:54
void SetParticleUpdate(Particle *p)
Updates the position of the particle p according to the current position and the new (already calcula...
std::vector< mpf_t * > GetDirectionVector(const std::vector< mpf_t * > &position, const std::vector< mpf_t * > &aim)
Calculates the difference vector between the position and the aim.
This file contains an abstract class for different bound handling strategies, which can be used for t...
This class is an abstract class. It supplies the interface for bound handling strategies of the parti...
Definition: bound_handling.h:54
std::string GetName()
Returns a string representation of this object.