Module genetic_algorithm::chromosome
source · Expand description
The chromosome is a container for the genes and caches a fitness score
Structs§
- The Chromosome is used as an individual in the Population. It holds the genes and knows how to sort between itself with regard to it’s fitness score. Chromosomes crossover, mutate and compete with each other in the Evolve strategy
Type Aliases§
- The GenesKey can be used for caching fitness scores, without lifetime concerns of the chromosome