EvolvingObjects
|
Continues until the optimum fitness level is reached. More...
#include <eoFitContinue.h>
Public Types | |
typedef EOT::Fitness | FitnessType |
Define Fitness. | |
Public Member Functions | |
eoFitContinue (const FitnessType _optimum) | |
Ctor. | |
virtual bool | operator() (const eoPop< EOT > &_pop) |
Returns false when a fitness criterium is reached. | |
virtual std::string | className (void) const |
Private Attributes | |
FitnessType | optimum |
Continues until the optimum fitness level is reached.
All types which derive from eoScalarFitness is able to compare well via the operator override ( <, >, <=, ...)
Definition at line 39 of file eoFitContinue.h.
virtual bool eoFitContinue< EOT >::operator() | ( | const eoPop< EOT > & | _pop | ) | [inline, virtual] |
Returns false when a fitness criterium is reached.
Assumes pop is not sorted!
Implements eoUF< const eoPop< EOT > &, bool >.
Definition at line 50 of file eoFitContinue.h.
References eoPop< EOT >::best_element().