Constants§
- ESSENTIAL_
GENES - Essential gene names that should not be removed.
Functions§
- comprehensive_
mutate - Complete mutation operator applying all mutation types.
- mutate
- Basic mutation: randomly changes gene values.
- mutate_
with_ log - Mutate a chromosome and return a log of applied mutations.
- scramble_
mutation - Scramble mutation: randomly shuffles a subset of genes.
- structural_
add_ mutation - Structural mutation: add new genes from the gene pool.
- structural_
remove_ mutation - Structural mutation: remove genes from the chromosome.
- swap_
mutation - Swap mutation: exchanges values between two genes.