Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Borůvka's algorithm
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Example == {| class="wikitable" ! | Image ! width="100" | components ! | Description |- |[[File:Borůvka Algorithm 1.svg|200px]] | {A}<br/>{B}<br/>{C}<br/>{D}<br/>{E}<br/>{F}<br/>{G} |This is our original weighted graph. The numbers near the edges indicate their weight. Initially, every vertex by itself is a component (blue circles). |- |[[File:Borůvka Algorithm 2.svg|200px]] | {A,B,D,F}<br/>{C,E,G} |In the first iteration of the outer loop, the minimum weight edge out of every component is added. Some edges are selected twice (AD, CE). Two components remain. |- |[[File:Borůvka Algorithm 3.svg|200px]] | {A,B,C,D,E,F,G} |In the second and final iteration, the minimum weight edge out of each of the two remaining components is added. These happen to be the same edge. One component remains and we are done. The edge BD is not considered because both endpoints are in the same component. |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)