constructive algorithms
This commit is contained in:
parent
d69cc63677
commit
f39fb0aa0b
3 changed files with 4 additions and 1 deletions
|
@ -2,8 +2,11 @@ import os
|
|||
|
||||
if 'AI' in os.getcwd():
|
||||
from src.utils import *
|
||||
from src.constructive_algorithms import *
|
||||
from src.local_search import *
|
||||
from src.TSP_solver import *
|
||||
from src.io_tsp import *
|
||||
|
||||
else:
|
||||
from AI2019.src.utils import *
|
||||
from AI2019.src.TSP_solver import *
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import os
|
||||
import numpy as np
|
||||
if 'AI' in os.getcwd():
|
||||
from src.utils import *
|
||||
else:
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import numpy as np
|
||||
|
||||
def compute_lenght(solution, dist_matrix):
|
||||
total_length = 0
|
||||
|
|
Reference in a new issue