eoUpdateUnderConstraint< POT, CSTYPE > Class Template Reference

Update particle's best position and best fitness if the current fitness is epsilon-better. More...

#include <eoUpdateUnderConstraint.h>

Inheritance diagram for eoUpdateUnderConstraint< POT, CSTYPE >:

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

Public Member Functions

 eoUpdateUnderConstraint (const CSTYPE &_epsilon)
 CTor that takes only an epsilon with the type POT::Fitness.
void operator() (POT &_po)
 The pure virtual function that needs to be implemented by the subclass.

Protected Attributes

const CSTYPE & epsilon

Detailed Description

template<class POT, class CSTYPE>
class eoUpdateUnderConstraint< POT, CSTYPE >

Update particle's best position and best fitness if the current fitness is epsilon-better.

Definition at line 21 of file eoUpdateUnderConstraint.h.


Constructor & Destructor Documentation

template<class POT, class CSTYPE>
eoUpdateUnderConstraint< POT, CSTYPE >::eoUpdateUnderConstraint ( const CSTYPE &  _epsilon  )  [inline]

CTor that takes only an epsilon with the type POT::Fitness.

Parameters:
_epsilon - A POT::Fitness

Definition at line 29 of file eoUpdateUnderConstraint.h.


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