french_version
This commit is contained in:
parent
bfd084d75f
commit
17275e5423
@ -59,10 +59,10 @@ class AntColony:
|
|||||||
self.pheromones = [[(1 - self.evaporation) * p for p in row] for row in self.pheromones]
|
self.pheromones = [[(1 - self.evaporation) * p for p in row] for row in self.pheromones]
|
||||||
return [self.cities[i] for i in best_ant]
|
return [self.cities[i] for i in best_ant]
|
||||||
|
|
||||||
nb_ville = 50
|
nb_ville = 2000
|
||||||
max_coords = 1000
|
max_coords = 1000
|
||||||
nb_truck = 2
|
nb_truck = 3
|
||||||
max_time = 3
|
max_time = 50
|
||||||
nb_ants = 10
|
nb_ants = 10
|
||||||
|
|
||||||
max_time_per_cluster = max_time / nb_truck
|
max_time_per_cluster = max_time / nb_truck
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user