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
|
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):
|
||||||
|
|
|
@ -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 *
|
Reference in a new issue