From 0b6b08f7ae66df3a0a6e53d7bec18dfc310aba76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Dami=C5=84ski?= Date: Mon, 15 Jun 2020 01:35:00 +0000 Subject: [PATCH] Zaktualizuj 'genetic_route.py' --- genetic_route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genetic_route.py b/genetic_route.py index 4548b42..ab7f580 100755 --- a/genetic_route.py +++ b/genetic_route.py @@ -90,7 +90,7 @@ def genetic_trace_route(graph_map, packages): population = copy.deepcopy(new_population) scores = score_all(graph_map, population) scores.sort(key=lambda x: x[1]) - print("Best route of all population in iteration " + i + 1) + print("Best route of all population in iteration " + str(i + 1)) print(scores[0][1]) scores = score_all(graph_map, population)