From 7d037742a568d2842746be615aecc4c61d2e26be Mon Sep 17 00:00:00 2001 From: Skullheadx <704277@pdsb.net> Date: Sun, 8 Jan 2023 21:31:24 -0500 Subject: [PATCH] file structure change --- Christofides.py => heuristics/Christofides.py | 0 brute_force.py => heuristics/brute_force.py | 0 greedy.py => heuristics/greedy.py | 0 nearest_neighbor.py => heuristics/nearest_neighbor.py | 0 main.py | 7 ++----- 5 files changed, 2 insertions(+), 5 deletions(-) rename Christofides.py => heuristics/Christofides.py (100%) rename brute_force.py => heuristics/brute_force.py (100%) rename greedy.py => heuristics/greedy.py (100%) rename nearest_neighbor.py => heuristics/nearest_neighbor.py (100%) diff --git a/Christofides.py b/heuristics/Christofides.py similarity index 100% rename from Christofides.py rename to heuristics/Christofides.py diff --git a/brute_force.py b/heuristics/brute_force.py similarity index 100% rename from brute_force.py rename to heuristics/brute_force.py diff --git a/greedy.py b/heuristics/greedy.py similarity index 100% rename from greedy.py rename to heuristics/greedy.py diff --git a/nearest_neighbor.py b/heuristics/nearest_neighbor.py similarity index 100% rename from nearest_neighbor.py rename to heuristics/nearest_neighbor.py diff --git a/main.py b/main.py index 259ca8d..ebe3868 100644 --- 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 -- 2.54.0