highprecisionpso::DefaultUpdater Class Reference
This class implements the standard movement equations for particle swarm optimization. More...
#include <default_updater.h>
Inheritance diagram for highprecisionpso::DefaultUpdater:
Public Member Functions | |
std::string | GetName () |
Returns a string representation of this object. More... | |
void | Update (Particle *p) |
Processes a single movement of the specified particle according to the standard movement equations. More... | |
Public Member Functions inherited from highprecisionpso::PositionAndVelocityUpdater | |
virtual | ~PositionAndVelocityUpdater () |
virtual 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. More... | |
virtual void | StoreData (std::ofstream *output_stream) |
Stores the current state of this position and velocity updater such that it can completely restore the current state with this data. More... | |
Detailed Description
This class implements the standard movement equations for particle swarm optimization.
Member Function Documentation
|
virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implements highprecisionpso::PositionAndVelocityUpdater.
|
virtual |
Processes a single movement of the specified particle according to the standard movement equations.
- Parameters
-
p The particle.
Implements highprecisionpso::PositionAndVelocityUpdater.
The documentation for this class was generated from the following file:
- src/position_and_velocity_updater/default_updater.h