Module genetic_algorithm::strategy::permutate
source · Expand description
A solution strategy for finding the best chromosome in case of small problem spaces (with a 100% guarantee)
Modules§
Structs§
- All possible combinations of genes are iterated over as chromosomes. The fitness is calculated for each chromosome and the best is taken. For efficiency reasons the full population is never instantiated as a whole.
- The builder for an Permutate struct.
- A log-level based reporter for debug and trace, runs on each generation
- The noop reporter, silences reporting
- A Simple reporter generic over Genotype. A report is triggered every period generations
- Stores the state of the Permutate strategy. Next to the expected general fields, the following strategy specific fields are added:
Traits§
- Reporter with event hooks in the Permutate process. A new generation is simply handling a single new chromosome from the total population