@todo: add an init method for continuators?

This commit is contained in:
Johann Dreo 2010-11-15 09:12:10 +01:00
commit 327d9363af
2 changed files with 8 additions and 2 deletions

View file

@ -71,7 +71,10 @@ public:
}
/** Sets the number of generations to reach
and sets the current generation to 0 (the begin)*/
and sets the current generation to 0 (the begin)
@todo replace this by an "init" method
*/
virtual void totalGenerations( unsigned long _tg ) {
repTotalGenerations = _tg;
thisGeneration = 0;

View file

@ -83,7 +83,10 @@ public:
}
/** Sets the parameters (minimum nb of gen. + steady nb of gen.)
and sets the current generation to 0 (the begin)*/
and sets the current generation to 0 (the begin)
@todo replace thi by an init method ?
*/
virtual void totalGenerations( unsigned long _mg, unsigned long _sg ) {
repMinGenerations = _mg;
repSteadyGenerations = _sg;