]> Skullheadx's Git Forge - The-Traveling-Salesman-Problem.git/commitdiff
file structure change
authorSkullheadx <704277@pdsb.net>
Mon, 9 Jan 2023 02:31:24 +0000 (21:31 -0500)
committerSkullheadx <704277@pdsb.net>
Mon, 9 Jan 2023 02:31:24 +0000 (21:31 -0500)
heuristics/Christofides.py [moved from Christofides.py with 100% similarity]
heuristics/brute_force.py [moved from brute_force.py with 100% similarity]
heuristics/greedy.py [moved from greedy.py with 100% similarity]
heuristics/nearest_neighbor.py [moved from nearest_neighbor.py with 100% similarity]
main.py

similarity index 100%
rename from Christofides.py
rename to heuristics/Christofides.py
similarity index 100%
rename from brute_force.py
rename to heuristics/brute_force.py
similarity index 100%
rename from greedy.py
rename to heuristics/greedy.py
diff --git a/main.py b/main.py
index 259ca8d36008455c8de0859c63c0006915e5c38b..ebe3868263e528f7f13af49234329b10f7cfa870 100644 (file)
--- a/main.py
+++ b/main.py
@@ -1,9 +1,6 @@
-from graph import create, read, print_info, find_MST, find_one_tree, find_lower_bound
+from graph import create, read, print_info, find_MST, find_lower_bound
 from display import Display
-from brute_force import brute_force
-from nearest_neighbor import nearest_neighbor
-from greedy import greedy
-from Christofides import christofides
+from heuristics.Christofides import christofides
 from time import perf_counter
 import os