osmose.engine.genetics.inheritance

Gametic inheritance: parent selection, meiotic segregation, offspring genotype creation.

Functions

create_offspring_genotypes(parent_gs, ...[, ...])

Create genotypes for n_offspring new schools of one species.

form_gamete(parent_alleles, rng)

Meiotic segregation: pick one allele per locus (free recombination).

select_parents(gonad_weight, rng)

Select two parents with probability proportional to gonad weight (fecundity proxy).