update
This commit is contained in:
parent
feaba5b400
commit
6dde40e207
2 changed files with 9 additions and 3 deletions
|
@ -32,7 +32,7 @@ class Solver_TSP:
|
|||
self.solved = True
|
||||
return self.solution
|
||||
|
||||
def nn(self, instance_):
|
||||
def nn(self, instance_, starting_node=0):
|
||||
pass
|
||||
|
||||
def plot_solution(self):
|
||||
|
|
|
@ -1,2 +1,8 @@
|
|||
from code.TSP_solver import *
|
||||
from code.io_tsp import *
|
||||
import os
|
||||
|
||||
if 'AI' in os.getcwd():
|
||||
from code.TSP_solver import *
|
||||
from code.io_tsp import *
|
||||
else:
|
||||
from AI2019.code.TSP_solver import *
|
||||
from AI2019.code.io_tsp import *
|
Reference in a new issue