~ruther/ctu-fee-eoa

ref: 8eaf8145d149098a0ef70811ce8ea9c98447eb11 ctu-fee-eoa/codes d---------
8eaf8145 — Rutherther 3 months ago
fix(tsp): properly implement binary string -> node permutation fitness
ec7345a5 — Rutherther 3 months ago
feat(lib): add n consecutive bit flip perturbation for binary string
38c9f268 — Rutherther 3 months ago
feat(lib): add two point and n point crossovers
f304d071 — Rutherther 3 months ago
refactor(lib): implement generic evolutionary strategy using .wrapped_mut

Thanks to wrapped_mut now the one_to_five strategy can be implemented
without relying on BoundedPerturbation etc.
e3d7f213 — Rutherther 3 months ago
feat(tsp): allow crossing bounds in reverse subsequence perturbation

Currently subsequence perturbation was capable only of changes
inside of bounds (left, right), but allow it going through
the right bound, ie. from element 8 to element 1 - swapping
8 with 1, 9 with 0, 10 with 10... this generalizes the perturbation.
Also, change the behavior to generate an index and a length instead
of two indices. This allows for constraining the length of
subsequences.
4d86e224 — Rutherther 3 months ago
feat: add possibility to evolve strategy during evolution_algorithm
b999449b — Rutherther 3 months ago
refactor: generalize apply_to_mutations
99f05825 — Rutherther 3 months ago
refactor(lib): allow modifying mutation perturbation
f63848aa — Rutherther 3 months ago
refactor(lib): add methods to get wrapped perturbations instead of traits.

Remove WrapperPerturbation and ListWrapperPerturbation in favor of
wrapped and wrapped_mut functions on PerturbationOperator. This
allows for easier handling as it's not easy to downcast Any into
WrapperPerturbation or ListWrapperPerturbation. So instead
always return dyn PerturbationOperator instead of dyn Any.
Use dyn Any only for downstasting to concrete types.

This finally allows for apply_to_mutations to be implemented
under MutationPerturbation, allowing to modify the arguments.
0fe8b60c — Rutherther 3 months ago
feat(tsp): Output csv statistics
7de4f4b4 — Rutherther 3 months ago
chore: do not clone for no reason in local search
7c39c3cb — Rutherther 3 months ago
chore: remove city ids from chart
3dccde3f — Rutherther 3 months ago
feat(tsp): add BinaryString representation of TSP
48d61c1a — Rutherther 3 months ago
chore: add thiserror
5bd86ac2 — Rutherther 3 months ago
tests(tsp): add tests for reverse subsequence
98eb8ce7 — Rutherther 3 months ago
fix(tsp): reverse properly in reverse subsequence perturbatio
38109145 — Rutherther 3 months ago
feat: add loading of optimal cost from solutions.txt
0ec0006a — Rutherther 3 months ago
feat: add edge recombination crossover
92bd0617 — Rutherther 3 months ago
feat: add into_iter for population
8ed0990b — Rutherther 3 months ago
chore: add instances to run the algorithm on
Next