Dijkstra can be used to find the best route between two points using the Dijkstra algorithm. It takes as parameters an array with all possible routes between to points and the start point.
Dijkstra can get the best path and the distance to each network point.
PHP 5 or higher
More popular Algorithm
- 4.2 KB
- 04/02/2009 19:53:12