Login   Register  
PHP Classes
elePHPant
Icontem

Class: 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: 953 users
All time rank: 3078
Week users: 1 user
Week rank: 2467
Picture of nikita m. kozlvovsky
Author: nikita m. kozlvovsky <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 26
All time rank: 62817 in Russian Federation Russian Federation
Week rank: 994 Down28 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  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes

  Rate classes User ratings   Applications   Files Files  

  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%)
1436
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.