Repopulator

Trait Repopulator 

Source
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§

Source

fn repopulate(&self, genomes: &mut Vec<G>, target_size: usize)

Replaces the genomes in the simulation.

Implementors§