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.
  • Used to quickly import everything this crate has to offer. Simply add use genetic_rs::prelude::* to begin using this crate.

Structs§

Traits§

  • Represents a fitness function. Inputs a reference to the genome and outputs an f32.
  • Helper trait used in the generation of random starting populations
  • Blanket trait used on collections that contain objects implementing GenerateRandom
  • Represents a nextgen function. Inputs genomes and rewards and produces the next generation