~ruther/ctu-fee-eoa

ref: c67cbe05b263f3d2f59d9217d0e112ff23b43d74 ctu-fee-eoa/codes d---------
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
c90789c1 — Rutherther 3 months ago
feat(tsp): add data loading
2079f94b — Rutherther 3 months ago
chore: add constructor for TSPRandomInitializer
1c140076 — Rutherther 3 months ago
fix: iterate city positions by rows
038f5f6c — Rutherther 3 months ago
refactor: use swap_rows in SwapPerturbaiton instead of swapping by indices
Next