Quote Originally Posted by AbhiMFC View Post
Can we use any other algorithm to find shortest path.
If you just need to find one path, then an A* (A-star) algorithm should work better.
However, in practice the implementation can also make a big difference in terms of performance. How do you represent the graph? Which data structures are you using for the other information?

You might want to have a look at the Boost Graph Library.