Changes in docs and added stuff to eoEvalSteadyFitness to reset after using it

This commit is contained in:
jmerelo 2004-08-10 17:19:46 +00:00
commit 669f41a315
7 changed files with 33 additions and 20 deletions

View file

@ -84,10 +84,15 @@ public:
virtual void totalGenerations( unsigned long _mg, unsigned long _sg ) {
repMinGenerations = _mg;
repSteadyGenerations = _sg;
thisGeneration = 0;
steadyState = false;
reset();
};
/// Resets the state after it's been reached
virtual void reset () {
steadyState=false;
thisGeneration = 0;
}
/** accessors*/
virtual unsigned long minGenerations( )
{ return repMinGenerations; };