There was an error while loading. Please reload this page.
1 parent b7e916f commit 52662b1Copy full SHA for 52662b1
1 file changed
graphs/ant_colony_optimization_algorithms.py
@@ -66,7 +66,7 @@ def main(
66
... pheromone_evaporation=0, alpha=1.0, beta=5.0, q=10)
67
([0, 1, 0], 5.656854249492381)
68
"""
69
- # Initialize the pheromone matrix.
+ # Initialize the pheromone matrix
70
cities_num = len(cities)
71
pheromone = [[1.0] * cities_num] * cities_num
72
0 commit comments