Function division_pruning_nextgen

Source
pub fn division_pruning_nextgen<G>(rewards: Vec<(G, f32)>) -> Vec<G>
Expand description

When making a new generation, it despawns half of the genomes and then spawns children from the remaining to reproduce. WIP: const generic for mutation rate, will allow for DivisionReproduction::divide to accept a custom mutation rate. Delayed due to current Rust limitations