PHP Classes

Graf: Computing routes and distances between two points

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-06-02 (16 years ago) RSS 2.0 feedStarStarStarStar 62%Total: 3,617 All time: 912 This week: 318Up
Version License Categories
graph 1.0.0GNU General Publi...Algorithms, Geography, Math
Description Author

This class is meant for computing all the possible ways from a point to another and the distance between them.

Innovation Award
PHP Programming Innovation award nominee
May 2004
Number 2

Prize: One copy of the Zend Studio
Computing all possible routes between two points considering the different alternative directions that may be taken in the way has always been an interesting problem.

Depending on the purpose, different solutions may be found that are optimized to cost less in fuel consumed by a transportation vehicle, may take less time to traverse, or may just be a convenient alternative when one or more paths are blocked for some problem that may exist by the time the a certain route is being traversed.

This class provides a solution to compute all the different routes that may be taken to reach one point departing from another.

Although it does not solve a problem that is common in Web programming, it may be useful in specific situations where computing multiple routes is part of a solution of a more specific problem.

Manuel Lemos
Name: Protung Dragos is available for providing paid consulting. Contact Protung Dragos .
Classes: 10 packages by
Country: Germany Germany
Age: 37
All time rank: 282 in Germany Germany
Week rank: 71 Down3 in Germany Germany Down
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file graph.class.php Class the class file
Accessible without login HTML file graph.htm Doc. Example of a graf

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:912
This week:318Up
User Ratings User Comments (1)
 All time
Please upload images as you used in html page
5 years ago (Laukik Patel)

For more information send a message to info at phpclasses dot org.