next_generation is det[private]
 current_generation(-G) is det[private]
Increment the generation count.