Dear Sir,

I have a python code for ACO

Code goes like:

self._start_travel(start_node) : Initialize all the ants to start_node & initialize pheromone to 1 self._find_edge(start_node, end_node) : for all the ants Select edges till end node reach self._finish_travel(end_node): Evaporate pheromone.

Here the Evaporation of Pheromone done once by the ants which reach to the destination. So I am not able to understand where the Pheromone deposition works?

Any one have idea,How actually implement ACO in Python for the Given directed graph?

More Dhaval Varia's questions See All
Similar questions and discussions