In most cases I've found that either something can be done with a custom nextgen or isn't needed to be done at all during the for loop. Should keep the next_generation method and just add a little helper perform_generations function that does the for loop for a certain generation count.
In most cases I've found that either something can be done with a custom nextgen or isn't needed to be done at all during the for loop. Should keep the
next_generation
method and just add a little helperperform_generations
function that does the for loop for a certain generation count.