You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,9 +129,22 @@ Run with `cargo run --example [EXAMPLE_BASENAME] --release`
129
129
* Custom Mutate implementation
130
130
* See [examples/evolve_milp_custom_mutate](../main/examples/evolve_milp_custom_mutate.rs)
131
131
132
+
## Heterogeneous Genotype Support
133
+
134
+
MultiRangeGenotype supports heterogeneous chromosomes that mix different gene
135
+
semantics (continuous values, discrete choices, booleans) within a single
136
+
numeric type `T`.
137
+
132
138
## Mutation Type Visualization
133
139
134
-
The library supports various mutation strategies that affect how the genetic algorithm explores the search space. The visualization below shows how different mutation types explore a 2D search space when searching for a target point:
140
+
The library supports various mutation strategies that affect how the genetic
141
+
algorithm explores the search space. Random leads to the best results overall.
142
+
Random is the default and is supported by all Genotypes.
143
+
144
+
But for continues genotypes (RangeGenotype and MultiRangeGenotype) there are
145
+
several alternatives. These might converge faster, but are all more sensitive to
146
+
local optima than Random. The visualization below shows how different mutation
147
+
types explore a 2D search space when searching for a target point:
0 commit comments