delta_updater.h
Go to the documentation of this file.
virtual std::vector< bool > DimensionsOfDeltaUpdate(Particle *p)
Determines in which dimensions the delta update should be applied.
The particles for the particle swarm optimization algorithm.
Definition: particle.h:54
std::vector< std::vector< unsigned long long > > NumberOfDeltaUpdates()
Returns the number of delta updates per particle and dimension.
This file contains an abstract class for processing the velocity and position update of each particle...
void Update(Particle *p)
Processes a single movement of the specified particle.
This class is an abstract class for processing the velocity and position update of each particle...
Definition: position_and_velocity_updater.h:55
This class stores a program version.
Definition: general_objects.h:54
std::string GetName()
Returns a string representation of this object.
void StoreData(std::ofstream *output_stream)
Stores the current state of this position and velocity updater such that it can completely restore th...
The delta updater implements a specific position and velocity update procedure.
Definition: delta_updater.h:128
void LoadData(std::ifstream *input_stream, ProgramVersion *version_of_stored_data)
Loads data to reset the state of the position and velocity updater to the state which was stored...
DeltaUpdater(double delta)
The constructor, where the fixed bound for sum of absolute velocities and distance to the global opti...
The delta updater implements a specific position and velocity update procedure.
Definition: delta_updater.h:59