Expand description
The crate containing the core traits and structs of genetic-rs.
Modules§
- builtin
builtin - Built-in nextgen functions and traits to go with them.
- prelude
- Used to quickly import everything this crate has to offer.
Simply add
use genetic_rs::prelude::*to begin using this crate.
Structs§
- Genetic
Sim - This struct is the main entry point for the simulation. It handles the state and evolution of the genomes based on what eliminator and repopulator it receives.
Traits§
- Eliminator
- Tests and eliminates the unfit from the simulation.
- Feature
Bounded Eliminator Non- rayon - Internal trait that simply deals with the trait bounds of features to avoid duplicate code. It is blanket implemented, so you should never have to reference this directly.
- Feature
Bounded Genome Non- rayon - Internal trait that simply deals with the trait bounds of features to avoid duplicate code. It is blanket implemented, so you should never have to reference this directly.
- Feature
Bounded Repopulator Non- rayon - Internal trait that simply deals with the trait bounds of features to avoid duplicate code. It is blanket implemented, so you should never have to reference this directly.
- Generate
Random genrand - Helper trait used in the generation of random starting populations
- Generate
Random Collection genrand - Blanket trait used on collections that contain objects implementing
GenerateRandom - Repopulator
- Refills the population of the simulation based on survivors.
- Rng
Non- tracing