Refactor genetic algorithm

This commit is contained in:
hal8174 2025-02-01 22:55:06 +01:00
parent 6fbff67e61
commit 0ab97485bb
9 changed files with 260 additions and 15 deletions

View file

@ -47,7 +47,7 @@ impl SinglePathfinder for ConflictAvoidance {
// c.print_visualization();
if c.remove_all_conflicts(self.timeout) {
c.print_visualization();
// c.print_visualization();
Some(c.get_paths().to_vec())
} else {
None