eoSSPSO< POT > Class Template Reference

A Star ("S"tar topology) Standard ("S"tandard velocity) PSO. More...

#include <eoSSPSO.h>

Inheritance diagram for eoSSPSO< POT >:

eoPSO< POT > eoAlgo< POT > eoUF< A1, R > eoFunctorBase List of all members.

Public Types

typedef POT::ParticleVelocityType VelocityType

Public Member Functions

 eoSSPSO (eoContinue< POT > &_continuator, eoEvalFunc< POT > &_eval, const VelocityType &_c1, const VelocityType &_c2, eoRealVectorBounds &_bounds, eoRealBoundModifier &_bndsModifier)
 Full constructor.
 eoSSPSO (eoContinue< POT > &_continuator, eoEvalFunc< POT > &_eval, const VelocityType &_c1, const VelocityType &_c2, eoRealVectorBounds &_bounds)
 Constructor without bound modifier.
 eoSSPSO (eoContinue< POT > &_continuator, eoEvalFunc< POT > &_eval, const VelocityType &_c1, const VelocityType &_c2)
 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
eoStarTopology< POT > topology
eoRealVectorBounds bounds
eoRealBoundModifierboundsModifier
eoDummyRealBoundModifier dummyModifier

Detailed Description

template<class POT>
class eoSSPSO< POT >

A Star ("S"tar topology) Standard ("S"tandard velocity) PSO.

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 eoSSPSO.h.


Constructor & Destructor Documentation

template<class POT>
eoSSPSO< POT >::eoSSPSO ( eoContinue< POT > &  _continuator,
eoEvalFunc< POT > &  _eval,
const VelocityType _c1,
const VelocityType _c2,
eoRealVectorBounds _bounds,
eoRealBoundModifier _bndsModifier 
) [inline]

Full constructor.

Parameters:
_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
_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)

Definition at line 46 of file eoSSPSO.h.

template<class POT>
eoSSPSO< POT >::eoSSPSO ( eoContinue< POT > &  _continuator,
eoEvalFunc< POT > &  _eval,
const VelocityType _c1,
const VelocityType _c2,
eoRealVectorBounds _bounds 
) [inline]

Constructor without bound modifier.

Parameters:
_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
_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 ?

Definition at line 68 of file eoSSPSO.h.

template<class POT>
eoSSPSO< POT >::eoSSPSO ( eoContinue< POT > &  _continuator,
eoEvalFunc< POT > &  _eval,
const VelocityType _c1,
const VelocityType _c2 
) [inline]

Constructor without bounds nor bound modifier.

Parameters:
_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 If the velocities are not real, they won't be bounded by default. Should have a eoBounds ?

Definition at line 89 of file eoSSPSO.h.


The documentation for this class was generated from the following file:
Generated on Fri Jun 22 10:17:02 2007 for EO-PSO by  doxygen 1.4.7