@todo: add an init method for continuators?
This commit is contained in:
parent
faaf13194f
commit
327d9363af
2 changed files with 8 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Reference in a new issue