Login   Register  
PHP Classes
elePHPant
Icontem

Kruskal

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of nikita m. kozlvovsky  >  Kruskal  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Kruskal
Base name: kruskal
Description: Find minimum spanning tree using Kruskal algorithm
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 972 users
All time rank: 3086
Week users: 1 user
Week rank: 2417
 

  Author  
Picture of nikita m. kozlvovsky
Name: nikita m. kozlvovsky <e-mail contact>
Packages: 2 Browse all classes by nikita m. kozlvovsky Browse all classes by
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 26
All time rank: 63417 in Russian Federation Russian Federation
Week rank: 1625 Down46 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description  
This class implements the Kruskal algorithm to find the minimum spanning tree that traverses a given set of nodes of a graph.

A graph is described as set of nodes and arcs connecting them. The class takes an associative array that has as indexes the letters of the starting and ending node. The respective array entry values represent the cost of traversing two nodes.

The class returns the minimum spanning arcs and the minimum cost to traverse them.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
November 2004
Number 4
Optimization techniques have always been important to solve real world situations that often turn difficult to resolve problems in situations with viable solutions.

The Kruskal algorithm provides a solution to find an optimized path that goes through multiple traversal points like the travelling salesman problem, that has also applications in the networking area.

This class provides a PHP implementation of the Kruskal algorithm that may have applications in graph drawing and solving other problems that may benefit from path finding optimization techniques.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (70.8%)
Sufficient (79.2%)
-
Sufficient (75.0%)
-
-
Not sure (50.8%)
1448
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file example.php Example a simple example
Plain text file Kruskal.class.php Class a base class

Download all files: kruskal.tar.gz kruskal.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.