Trait genevo::population::GenomeBuilder
source · [−]pub trait GenomeBuilder<G>: Sync where
G: Genotype, {
fn build_genome<R>(&self, index: usize, rng: &mut R) -> G
where
R: Rng + Sized;
}
Expand description
A GenomeBuilder
defines how to build individuals of a population for
custom genetic::Genotype
s.
Typically the individuals are generated randomly.