A star algorithm
A star (A*) pathfinding algorithm.
It works almost same with Dijkstra algorithm, but with heuristic approach. Distance to all unvisited nodes are calculated with where is the actual cost from start to , is the estimated cost from v to end.
If is always , it does exact same thing with Dijkstra algorithm.
In many path finding problems, we can get spatial information. A* algorithm uses this information as to make searching faster.