Borůvka's algorithm: Difference between revisions

Content deleted Content added
Toncek (talk | contribs)
mNo edit summary
No edit summary
Line 7:
*Copy the vertices of ''G'' into a new graph, ''L'', with no edges.
*While the graph has more than one component
**For each component, find the cheapest edge withwhich exactlyhas one vertex in the component
**Add all of these edges to ''L''.