Module genetic_algorithm::chromosome
source · Expand description
The chromosome is a container for the genes and caches a fitness score
Structs§
Traits§
- The Chromosome is used as an individual in the Population. Chromosomes select, crossover and mutate with each other in the Evolve strategy. Each Genotype has its own associated Chromosome type.
Type Aliases§
- The GenesKey can be used for caching fitness scores, without lifetime concerns of the chromosome