PHP Classes

Dijkstra Implementation: Find best route using the Dijkstra algorithm

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-04-14 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 543 This week: 1All time: 5,177 This week: 1,086Up
Version License PHP version Categories  
dijkstra_implementat 1.0Artistic License5Algorithms, PHP 5, Geography
Description Author  

This class can find best route using the Dijkstra algorithm.

There is an auxiliary class that encapsulates the functionality of a node through which a route may pass.

Links may be added between each node with the information of distance and whether there is a reciprocal link in the opposite direction.

The main class may the best routes between two nodes returning the information of the path nodes and associated costs.

Picture of Mallory  Dessaintes
Name: Mallory Dessaintes <contact>
Classes: 3 packages by
Country: Belgium Belgium
Age: 26
All time rank: 165010 in Belgium Belgium
Week rank: 619 Up3 in Belgium Belgium Up

  Files folder image Files  
File Role Description
Plain text file Dijkstra.class.php Class Main file

 Version Control Unique User Downloads Download Rankings  
 0%Total:543All time:5,177
 This week:1This week:1,086Up