eoBestOfAllInit< POT > Class Template Reference

Initializes the positions of a particle (which is the global best) by the best position found in the given population. More...

#include <eoGlobalBestInit.h>

Inheritance diagram for eoBestOfAllInit< POT >:

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

Public Member Functions

 eoBestOfAllInit (eoSingleParticleArchive< POT > &_archive)
 Constructor: takes an eoSingleParticleArchive that stores the global best.
void operator() (eoPop< POT > &_pop)
 The pure virtual function that needs to be implemented by the subclass.

Protected Attributes

eoSingleParticleArchive< POT > & archive

Detailed Description

template<class POT>
class eoBestOfAllInit< POT >

Initializes the positions of a particle (which is the global best) by the best position found in the given population.

The global best is stored in a eoSingleParticleArchive object.

Definition at line 27 of file eoGlobalBestInit.h.


Constructor & Destructor Documentation

template<class POT>
eoBestOfAllInit< POT >::eoBestOfAllInit ( eoSingleParticleArchive< POT > &  _archive  )  [inline]

Constructor: takes an eoSingleParticleArchive that stores the global best.

Parameters:
_archive An eoSingleParticleArchive

Definition at line 34 of file eoGlobalBestInit.h.


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