Crate genetic_rs_common
source ·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. - Used to quickly import everything this crate has to offer. Simply add
use genetic_rs::prelude::*
to begin using this crate.
Structs§
- The simulation controller.
Traits§
- Represents a fitness function. Inputs a reference to the genome and outputs an f32.
- GenerateRandom
genrand
Helper trait used in the generation of random starting populations - GenerateRandomCollection
genrand
Blanket trait used on collections that contain objects implementingGenerateRandom
- Represents a nextgen function. Inputs genomes and rewards and produces the next generation