pub trait Repopulator<G> {
// Required method
fn repopulate(&self, genomes: &mut Vec<G>, target_size: usize);
}Expand description
Refills the population of the simulation based on survivors.
Required Methods§
Sourcefn repopulate(&self, genomes: &mut Vec<G>, target_size: usize)
fn repopulate(&self, genomes: &mut Vec<G>, target_size: usize)
Replaces the genomes in the simulation.