Friday, December 14, 2012

Kruskal & Prim algorithm (with proof)



Kruskal & Prim with proof algorithms to find a minimum weight spanning tree
The methods consists of
- Sorting the edges by increasing weight;
- Constructing a spanning tree by adding one of the smallest available edge s in each step.

pdf||2 pages


Download