Closed Jaykingamez closed 2 days ago
Hi, @Jaykingamez, in response to your question about whether the code is specifically designed for directed graphs, the answer is no.
Ant Colony Optimization is a probabilistic algorithm, which means it may not always lead to the most optimal solution. I would use Dijkstra's algorithm as a baseline to compute the optimal path.
Thanks for solving the previous issue.
I'm trying to replicate the paper "Application of Ant Colony Algorithm in Finding Shortest Paths in Mobile Games".
I notice that this library is specifically meant to deal with directed graphs, so perhaps I am trying to use the wrong tool.
In this code, aco always returns the unoptimal solution. Is it due to the fact that the code is meant for directed graphs?