Ant colony algorithm

1k views Asked by At

If we have 5 cities and 5 ants. Does all ants have to start from the same city? What is the difference if they start from different cities. I am placing the ants at different cities as starting points randomly. I tried using both cases but my results are same. I want to know if it's correct or there is a problem with my code.

1

There are 1 answers

0
usama On

you can start from different nodes and will update the pheromone every time.