@@ -176,12 +176,12 @@ with `call_repeatedly` for genomes >20 genes.
176176| Genotype | Compatible Crossovers | Recommended |
177177| ---| ---| ---|
178178| ` BinaryGenotype ` | All | ` CrossoverUniform ` or ` CrossoverSinglePoint ` |
179- | ` ListGenotype<T> ` | All | ` CrossoverUniform ` |
180- | ` MultiListGenotype<T> ` | All | ` CrossoverUniform ` |
179+ | ` ListGenotype<T> ` | All | Any (e.g. ` CrossoverUniform ` , ` CrossoverSinglePoint ` ) |
180+ | ` MultiListGenotype<T> ` | All | Any (e.g. ` CrossoverUniform ` , ` CrossoverSinglePoint ` ) |
181181| ` UniqueGenotype<T> ` | ` CrossoverClone ` , ` CrossoverRejuvenate ` ONLY (others are compile errors) | ` CrossoverClone ` |
182182| ` MultiUniqueGenotype<T> ` | Point-based + ` CrossoverClone ` , ` CrossoverRejuvenate ` (gene-based are compile errors) | ` CrossoverSinglePoint ` |
183- | ` RangeGenotype<T> ` | All | ` CrossoverMultiPoint ` |
184- | ` MultiRangeGenotype<T> ` | All | ` CrossoverSingleGene ` |
183+ | ` RangeGenotype<T> ` | All | Any (e.g. ` CrossoverUniform ` , ` CrossoverSinglePoint ` ) |
184+ | ` MultiRangeGenotype<T> ` | All | Any (e.g. ` CrossoverUniform ` , ` CrossoverSingleGene ` ) |
185185
186186** Compile-time safety** : ` UniqueGenotype ` does not implement ` SupportsGeneCrossover `
187187or ` SupportsPointCrossover ` , so incompatible crossovers are ** compile errors** .
@@ -249,7 +249,7 @@ For range/float genotypes (>50 genes, see Troubleshooting for tuning):
249249``` rust
250250// also requires: genotype, fitness, target_population_size, ending condition
251251. with_select (SelectTournament :: new (0.5 , 0.02 , 4 ))
252- . with_crossover (CrossoverMultiPoint :: new (0.7 , 0.8 , 3 , false ))
252+ . with_crossover (CrossoverUniform :: new (0.7 , 0.8 ))
253253. with_mutate (MutateMultiGene :: new (10 , 1.0 ))
254254```
255255
0 commit comments