Skip to main content

Module evolution

Module evolution 

Source
Expand description

Evolution simulation — mutation, selection, genetic drift.

Structs§

EvolvingTrait
Simplified trait for evolution (not full genome — see worldgen::genetics for that).

Functions§

check_speciation
Simulate speciation check: if trait divergence exceeds threshold.
evolve_trait
Evolve a trait over one generation given selection pressure.