Changes in docs and added stuff to eoEvalSteadyFitness to reset after using it
This commit is contained in:
parent
55a118517c
commit
669f41a315
7 changed files with 33 additions and 20 deletions
|
|
@ -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; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue