highprecisionpso::TestingUpdater Class Reference
The testing updater implements an experimental position and velocity update procedure. More...
#include <testing_updater.h>
Inheritance diagram for highprecisionpso::TestingUpdater:
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. 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
The testing updater implements an experimental position and velocity update procedure.
The explicit behavior will not be specified. It may change on software updates or even during a single particle swarm simulation.
- Warning
- Usage of this class is not recommended!
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.
The explicit behavior will not be specified. It may change on software updates or even during a single particle swarm simulation.
- Warning
- Usage of this class is not recommended!
- Parameters
-
p The particle, which should be updated.
Implements highprecisionpso::PositionAndVelocityUpdater.
The documentation for this class was generated from the following file:
- src/position_and_velocity_updater/testing_updater.h