peoGlobalBestVelocity< POT > Class Template Reference

Specific class for a replacement thanks to the velocity migration of a population of a PSO. More...

#include <peoPSO.h>

Inheritance diagram for peoGlobalBestVelocity< POT >:

eoReplacement< POT > eoBF< A1, A2, R > eoFunctorBase List of all members.

Public Types

typedef POT::ParticleVelocityType VelocityType
 typedef : creation of VelocityType

Public Member Functions

 peoGlobalBestVelocity (const double &_c3, eoVelocity< POT > &_velocity)
 Constructor.
void operator() (eoPop< POT > &_dest, eoPop< POT > &_source)
 Virtual operator.

Protected Attributes

const double & c3
eoVelocity< POT > & velocity

Detailed Description

template<class POT>
class peoGlobalBestVelocity< POT >

Specific class for a replacement thanks to the velocity migration of a population of a PSO.

See also:
eoReplacement
Version:
1.1
Date:
october 2007

Definition at line 85 of file peoPSO.h.


Constructor & Destructor Documentation

template<class POT>
peoGlobalBestVelocity< POT >::peoGlobalBestVelocity ( const double &  _c3,
eoVelocity< POT > &  _velocity 
) [inline]

Constructor.

Parameters:
double & _c3
eoVelocity < POT > &_velocity

Definition at line 95 of file peoPSO.h.


Member Function Documentation

template<class POT>
void peoGlobalBestVelocity< POT >::operator() ( eoPop< POT > &  _dest,
eoPop< POT > &  _source 
) [inline]

Virtual operator.

Parameters:
eoPop<POT>& _dest
eoPop<POT>& _source

Definition at line 101 of file peoPSO.h.

References peoGlobalBestVelocity< POT >::c3, and eoRng::uniform().


Member Data Documentation

template<class POT>
const double& peoGlobalBestVelocity< POT >::c3 [protected]

Parameters:
double & c3
eoVelocity < POT > & velocity

Definition at line 118 of file peoPSO.h.

Referenced by peoGlobalBestVelocity< POT >::operator()().


The documentation for this class was generated from the following file:
Generated on Thu Mar 13 15:55:05 2008 for ParadisEO-PEO-ParallelanddistributedEvolvingObjects by  doxygen 1.4.7