Expand description
Contains functions used in GeneticSim
.
Functions§
- 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 - When making a new generation, it mutates each genome a certain amount depending on their reward. This nextgen is very situational and should not be your first choice.