This commit is contained in:
UmbertoJr 2019-12-02 09:24:08 +01:00
parent b8b4840408
commit 98cc9401a1

View file

@ -43,7 +43,7 @@ class Solver_TSP:
def pop(self): def pop(self):
self.methods.pop() self.methods.pop()
self.name_method = self.name_method[::-1][self.name_method[::-1].find("improved"[::-1]) + len("improved") + 1:][ self.name_method = self.name_method[::-1][self.name_method[::-1].find("improved"[::-1]) + len("improved") + 2:][
::-1] ::-1]
def __call__(self, instance_, verbose=True, return_value=True): def __call__(self, instance_, verbose=True, return_value=True):