-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Firstly thanks a lot for the code! It was quite helpful.
In the pheromone update step, it is written as
self.pheromone[move] += 1.0 / self.distances[move]
but according to the formula it should be
self.pheromone[move] += 1.0 / dist
It is the inverse of the total path distance of that route taken by the ant which is the dist.
krish146
Metadata
Metadata
Assignees
Labels
No labels