0cbef6be1bce754c3b5864a1c4a4b24d99e22e2c
Variation that clones the first parent (a Vec<usize> permutation) and swaps two distinct random indices when len >= 2 (spec §11.4). Tests confirm the multiset of contents is preserved.
Description
A practical Rust toolkit for heuristic single-, multi-, and many-objective optimization.
912 KiB
Languages
Rust
100%