Next: Kruskal's Algorithm (Refined)
Up: No Title
Previous: Modified Prim's Algorithm
Input: G=(V,E,W), a connected graph
Output:
, a MST of G
-
- While
do
- Let
be the least cost edge in E
-
- if
does not create a cycle in T
- then add
to T
- end while
Sushil Prasad
Thu Nov 4 14:09:59 EST 1999