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 - The simulation controller.
Traits§
- Fitness
Fn - Represents a fitness function. Inputs a reference to the genome and outputs an f32.
- 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
- Nextgen
Fn - Represents a nextgen function. Inputs genomes and rewards and produces the next generation
- Rng