dimension_independent_updater.h
Go to the documentation of this file.
1 
40 #ifndef HIGH_PRECISION_PSO_POSITION_AND_VELOCITY_UPDATER_DIMENSION_INDEPENDENT_UPDATER_H_
41 #define HIGH_PRECISION_PSO_POSITION_AND_VELOCITY_UPDATER_DIMENSION_INDEPENDENT_UPDATER_H_
42 
44 
45 namespace highprecisionpso {
46 
53 public:
60  DimensionIndependentUpdater(double reduction, int max_directions);
61 
100  void Update(Particle* p);
101  std::string GetName();
102 
103 private:
104  const double reduction_;
105  const int max_directions_;
106 };
107 
108 } // namespace highprecisionpso
109 
110 #endif /* HIGH_PRECISION_PSO_POSITION_AND_VELOCITY_UPDATER_DIMENSION_INDEPENDENT_UPDATER_H_ */
111 
112 
113 
The particles for the particle swarm optimization algorithm.
Definition: particle.h:54
This file contains an abstract class for processing the velocity and position update of each particle...
This class is an abstract class for processing the velocity and position update of each particle...
Definition: position_and_velocity_updater.h:55
std::string GetName()
Returns a string representation of this object.
void Update(Particle *p)
Processes a single movement of the specified particle.
DimensionIndependentUpdater(double reduction, int max_directions)
The constructor.
This class implements an update procedure, which acts independent to the coordinate axes...
Definition: dimension_independent_updater.h:52
base namespace for this project.
Definition: absorption.h:45