config
This commit is contained in:
parent
68e55698ca
commit
b11cf6d076
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from matplotlib import pyplot as plt
|
from matplotlib import pyplot as plt
|
||||||
from numpy.core._multiarray_umath import ndarray
|
from numpy.core._multiarray_umath import ndarray
|
||||||
|
if 'AI' in os.getcwd():
|
||||||
|
from src.utils import *
|
||||||
|
else:
|
||||||
|
from AI2019.src.utils import *
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,6 @@ if 'AI' in os.getcwd():
|
||||||
from src.TSP_solver import *
|
from src.TSP_solver import *
|
||||||
from src.io_tsp import *
|
from src.io_tsp import *
|
||||||
else:
|
else:
|
||||||
from AI2019src.utils import *
|
from AI2019.src.utils import *
|
||||||
from AI2019.src.TSP_solver import *
|
from AI2019.src.TSP_solver import *
|
||||||
from AI2019.src.io_tsp import *
|
from AI2019.src.io_tsp import *
|
||||||
|
|
Reference in a new issue