Module chromosome

Module chromosome 

Source
Expand description

The chromosome is a container for the genes and stores some useful values

Structs§

Chromosome
The Chromosome is used as an individual in the Population. Chromosomes select, crossover and mutate with each other in the Evolve strategy.

Type Aliases§

Genes
Type alias for genes - provides semantic clarity without trait overhead Makes it clear when we’re dealing with genes vs other vectors
GenesHash
The GenesHash is used for determining cardinality in the population It could also be used for caching fitness scores, without lifetime concerns of the chromosome