eoSyncEasyPSO< POT > Class Template Reference

An easy-to-use synchronous particle swarm algorithm; you can use any particle, any flight, any topology. More...

#include <eoSyncEasyPSO.h>

Inheritance diagram for eoSyncEasyPSO< POT >:

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

Public Member Functions

 eoSyncEasyPSO (eoContinue< POT > &_continuator, eoEvalFunc< POT > &_eval, eoVelocity< POT > &_velocity, eoFlight< POT > &_flight)
 Full constructor.
 eoSyncEasyPSO (eoContinue< POT > &_continuator, eoEvalFunc< POT > &_eval, eoVelocity< POT > &_velocity)
 Constructor without eoFlight.
virtual void operator() (eoPop< POT > &_pop)
 Apply a few iteration of flight to the population (=swarm).

Private Attributes

eoContinue< POT > & continuator
eoEvalFunc< POT > & eval
eoPopLoopEval< POT > loopEval
eoPopEvalFunc< POT > & popEval
eoVelocity< POT > & velocity
eoFlight< POT > & flight
eoDummyFlight< POT > dummyFlight

Detailed Description

template<class POT>
class eoSyncEasyPSO< POT >

An easy-to-use synchronous particle swarm algorithm; you can use any particle, any flight, any topology.

.. The main steps are :

Definition at line 32 of file eoSyncEasyPSO.h.


Constructor & Destructor Documentation

template<class POT>
eoSyncEasyPSO< POT >::eoSyncEasyPSO ( eoContinue< POT > &  _continuator,
eoEvalFunc< POT > &  _eval,
eoVelocity< POT > &  _velocity,
eoFlight< POT > &  _flight 
) [inline]

Full constructor.

Parameters:
_continuator - An eoContinue that manages the stopping criterion and the checkpointing system
_eval - An eoEvalFunc: the evaluation performer
_velocity - An eoVelocity that defines how to compute the velocities
_flight - An eoFlight that defines how to make the particle flying: that means how to modify the positions according to the velocities

Definition at line 43 of file eoSyncEasyPSO.h.

template<class POT>
eoSyncEasyPSO< POT >::eoSyncEasyPSO ( eoContinue< POT > &  _continuator,
eoEvalFunc< POT > &  _eval,
eoVelocity< POT > &  _velocity 
) [inline]

Constructor without eoFlight.

For special cases when the flight is performed withing the velocity.

Parameters:
_continuator - An eoContinue that manages the stopping criterion and the checkpointing system
_eval - An eoEvalFunc: the evaluation performer
_velocity - An eoVelocity that defines how to compute the velocities

Definition at line 61 of file eoSyncEasyPSO.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