Increment generation number of kiddo after breeding
This commit is contained in:
parent
62ab4f9a16
commit
b635429aff
@ -81,6 +81,9 @@ namespace BitEvolver
|
|||||||
// Reset kiddo's fitness
|
// Reset kiddo's fitness
|
||||||
kiddo->ResetFitness();
|
kiddo->ResetFitness();
|
||||||
|
|
||||||
|
// Increment kiddo's generation number
|
||||||
|
kiddo->IncrementGenerationNumber();
|
||||||
|
|
||||||
return kiddo;
|
return kiddo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user