eoStandardFlight< POT > Class Template Reference

Standard PSO flight. More...

#include <eoFlight.h>

Inheritance diagram for eoStandardFlight< POT >:

eoFlight< POT > eoUF< POT &, void > eoFunctorBase List of all members.

Public Member Functions

 eoStandardFlight ()
 Constructor without bounds.
 eoStandardFlight (eoRealVectorBounds &_bounds)
 Main constructor: expects a eoRealVectorBounds object for bound control.
 eoStandardFlight (const double &_min, const double &_max)
 Main constructor: expects a min and a max to build the same real bounds for all the positions.
void operator() (POT &_po)
 Apply the standard flight : position:=position + velocity and .

Protected Attributes

eoRealVectorBoundsbounds

Detailed Description

template<class POT>
class eoStandardFlight< POT >

Standard PSO flight.

Derivated from abstract eoFlight, just adds the velocities to the current position of the particle and invalidates its fitness

Definition at line 43 of file eoFlight.h.


Constructor & Destructor Documentation

template<class POT>
eoStandardFlight< POT >::eoStandardFlight ( eoRealVectorBounds _bounds  )  [inline]

Main constructor: expects a eoRealVectorBounds object for bound control.

Parameters:
_bounds - An eoRealVectorBounds

Definition at line 55 of file eoFlight.h.


Member Function Documentation

template<class POT>
void eoStandardFlight< POT >::operator() ( POT &  _po  )  [inline, virtual]

Apply the standard flight : position:=position + velocity and .

.. invalidates the fitness

Implements eoUF< POT &, void >.

Definition at line 64 of file eoFlight.h.

References eoStandardFlight< POT >::bounds, eoRealBaseVectorBounds::isMaxBounded(), eoRealBaseVectorBounds::isMinBounded(), eoRealBaseVectorBounds::maximum(), and eoRealBaseVectorBounds::minimum().


The documentation for this class was generated from the following file:
Generated on Thu Apr 19 11:02:33 2007 for EO by  doxygen 1.4.7