Crate genetic_rs_common

Crate genetic_rs_common 

Source
Expand description

The crate containing the core traits and structs of genetic-rs.

Modules§

builtinbuiltin
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§

GeneticSim
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.
FeatureBoundedEliminatorNon-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.
FeatureBoundedGenomeNon-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.
FeatureBoundedRepopulatorNon-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.
GenerateRandomgenrand
Helper trait used in the generation of random starting populations
GenerateRandomCollectiongenrand
Blanket trait used on collections that contain objects implementing GenerateRandom
Repopulator
Refills the population of the simulation based on survivors.
RngNon-tracing