PHP Classes

PHP Shortest Path algoritm: Find the shortest path between two locations

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 146 All time: 9,128 This week: 455Up
Version License PHP version Categories
shortest 1.0The PHP License7.2Algorithms, PHP 5, Databases, Geography


This class can find the shortest path between two locations.

It can take as parameter the identifier of the starting node of a map of known locations stored in a database.

The class can lookup on the database the neighbor nodes until it reaches a destination nodes through several possible routes and applies an algorithm to find which of the routes is the shortest.

Picture of Imran Bukhsh
Name: Imran Bukhsh <contact>
Classes: 1 package by
Country: United Arab Emirates United Arab Emirates
Age: ???
All time rank: 42828 in United Arab Emirates United Arab Emirates
Week rank: 234 Up1 in United Arab Emirates United Arab Emirates Up

  Files folder image Files  
File Role Description
Plain text file Shortest.php Class shortest path directed graph

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,128
This week:455Up