Boruvka's algorithm



         


Borůvka's algorithm is an algorithm for finding minimum spanning trees. It was first published in 1926 by Otakar Borůvka as a method of efficiently electrifying Bohemia.

Borůvka's algorithm, in pseudocode, given a graph <math>G<math>, is:

Borůvka's algorithm can be shown to run in time O(<math>E<math> log <math>V<math>), where <math>E<math> is the number of edges, and <math>V<math> is the number of vertices in <math>G<math>.

Other algorithms for this problem include Prim's algorithm and Kruskal's algorithm. Faster algorithms can be obtained by combining Prim's algorithm with Borůvka's. A faster randomized algorithm due to Karger, Klein and Tarjan runs in expected <math>O(E)<math> time.






  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License