#include <eoLSPSO.h>
Inheritance diagram for eoLSPSO< POT >:

Public Types | |
| typedef POT::ParticleVelocityType | VelocityType |
Public Member Functions | |
| eoLSPSO (eoContinue< POT > &_continuator, eoEvalFunc< POT > &_eval, const VelocityType &_c1, const VelocityType &_c2, const unsigned _neighborhoodSize, eoRealVectorBounds &_bounds, eoRealBoundModifier &_bndsModifier) | |
| Full constructor. | |
| eoLSPSO (eoContinue< POT > &_continuator, eoEvalFunc< POT > &_eval, const VelocityType &_c1, const VelocityType &_c2, const unsigned _neighborhoodSize, eoRealVectorBounds &_bounds) | |
| Constructor without bound modifier. | |
| eoLSPSO (eoContinue< POT > &_continuator, eoEvalFunc< POT > &_eval, const VelocityType &_c1, const VelocityType &_c2, const unsigned _neighborhoodSize) | |
| Constructor without bounds nor bound modifier. | |
| virtual void | operator() (eoPop< POT > &_pop) |
| Apply a few iteration of flight to the population (=swarm). | |
Protected Attributes | |
| eoContinue< POT > & | continuator |
| eoEvalFunc< POT > & | eval |
| eoStandardVelocity< POT > | velocity |
| eoStandardFlight< POT > | flight |
| const unsigned | neighborhoodSize |
| eoLinearTopology< POT > | topology |
| eoRealVectorBounds | bounds |
| eoRealBoundModifier & | boundsModifier |
| eoDummyRealBoundModifier | dummyModifier |
You can use it with or without bounds on the velocity. No bound for the flight (no bounds for the positions).
Definition at line 30 of file eoLSPSO.h.
| eoLSPSO< POT >::eoLSPSO | ( | eoContinue< POT > & | _continuator, | |
| eoEvalFunc< POT > & | _eval, | |||
| const VelocityType & | _c1, | |||
| const VelocityType & | _c2, | |||
| const unsigned | _neighborhoodSize, | |||
| eoRealVectorBounds & | _bounds, | |||
| eoRealBoundModifier & | _bndsModifier | |||
| ) | [inline] |
Full constructor.
| _continuator | - An eoContinue that manages the stopping criterion and the checkpointing system | |
| _eval | - An eoEvalFunc: the evaluation performer | |
| _c1 | - The first learning factor used for the particle's best. Type must be POT::ParticleVelocityType | |
| _c2 | - The second learning factor used for the local/global best(s). Type must be POT::ParticleVelocityType | |
| _neighborhoodSize | - The size of each neighborhood of the linear topology | |
| _bounds | - An eoRealBaseVectorBounds: real bounds for real velocities. If the velocities are not real, they won't be bounded by default. Should have a eoBounds ? | |
| _boundsModifier | - An eoRealBoundModifier used to modify the bounds (for real bounds only) |
| eoLSPSO< POT >::eoLSPSO | ( | eoContinue< POT > & | _continuator, | |
| eoEvalFunc< POT > & | _eval, | |||
| const VelocityType & | _c1, | |||
| const VelocityType & | _c2, | |||
| const unsigned | _neighborhoodSize, | |||
| eoRealVectorBounds & | _bounds | |||
| ) | [inline] |
Constructor without bound modifier.
| _continuator | - An eoContinue that manages the stopping criterion and the checkpointing system | |
| _eval | - An eoEvalFunc: the evaluation performer | |
| _c1 | - The first learning factor used for the particle's best. Type must be POT::ParticleVelocityType | |
| _c2 | - The second learning factor used for the local/global best(s). Type must be POT::ParticleVelocityType | |
| _neighborhoodSize | - The size of each neighborhood of the linear topology | |
| _bounds | - An eoRealBaseVectorBounds: real bounds for real velocities. If the velocities are not real, they won't be bounded by default. Should have a eoBounds ? |
| eoLSPSO< POT >::eoLSPSO | ( | eoContinue< POT > & | _continuator, | |
| eoEvalFunc< POT > & | _eval, | |||
| const VelocityType & | _c1, | |||
| const VelocityType & | _c2, | |||
| const unsigned | _neighborhoodSize | |||
| ) | [inline] |
Constructor without bounds nor bound modifier.
| _continuator | - An eoContinue that manages the stopping criterion and the checkpointing system | |
| _eval | - An eoEvalFunc: the evaluation performer | |
| _c1 | - The first learning factor used for the particle's best. Type must be POT::ParticleVelocityType | |
| _c2 | - The second learning factor used for the local/global best(s). Type must be POT::ParticleVelocityType | |
| _neighborhoodSize | - The size of each neighborhood of the linear topology If the velocities are not real, they won't be bounded by default. Should have a eoBounds ? |
1.4.7