Content deleted Content added
m Task 18 (cosmetic): eval 11 templates: hyphenate params (4×); del |postscript= (2×); cvt lang vals (6×); |
|||
Line 5:
or a minimum spanning forest in the case of a graph that is not connected.
It was first published in 1926 by [[Otakar Borůvka]] as a method of constructing an efficient [[electricity network]] for [[Moravia]].<ref>{{cite journal | last = Borůvka | first = Otakar |
| last1 = Nešetřil | first1 = Jaroslav | author1-link = Jaroslav Nešetřil
| last2 = Milková | first2 = Eva
Line 19:
| hdl-access = free
}}</ref>
The algorithm was rediscovered by [[Gustave Choquet|Choquet]] in 1938;<ref>{{cite journal | last = Choquet | first = Gustave |
| last1 = Florek | first1 = K.
| last2 = Łukaszewicz | first2 = J. | author2-link = Jan Łukasiewicz
Line 26:
| last5 = Zubrzycki | first5 = S.
| journal = Colloquium Mathematicae
| language =
| mr = 0048832
| pages = 282–285
Line 32:
| url = https://eudml.org/doc/209969
| volume = 2
| year = 1951}}</ref> and again by Georges Sollin in 1965.<ref>{{cite journal | last = Sollin | first = Georges | year = 1965 | title = Le tracé de canalisation | journal = Programming, Games, and Transportation Networks | language =
The algorithm begins by finding the minimum-weight edge incident to each vertex of the graph, and adding all of those edges to the forest.
Line 64:
== Complexity ==
Borůvka's algorithm can be shown to take [[Big O notation|O]](log ''V'') iterations of the outer loop until it terminates, and therefore to run in time [[Big O notation|O]](''E'' log ''V''), where ''E'' is the number of edges, and ''V'' is the number of vertices in ''G''. In [[planar graph]]s, and more generally in families of graphs closed under [[graph minor]] operations, it can be made to run in linear time, by removing all but the cheapest edge between each pair of components after each stage of the algorithm.<ref>{{Cite book|last=Eppstein|first=David|
== Example ==
|