This commit is contained in:
UmbertoJr 2019-10-29 13:28:47 +01:00
parent feaba5b400
commit 6dde40e207
2 changed files with 9 additions and 3 deletions

View file

@ -32,7 +32,7 @@ class Solver_TSP:
self.solved = True self.solved = True
return self.solution return self.solution
def nn(self, instance_): def nn(self, instance_, starting_node=0):
pass pass
def plot_solution(self): def plot_solution(self):

View file

@ -1,2 +1,8 @@
import os
if 'AI' in os.getcwd():
from code.TSP_solver import * from code.TSP_solver import *
from code.io_tsp import * from code.io_tsp import *
else:
from AI2019.code.TSP_solver import *
from AI2019.code.io_tsp import *