Encyclopedia  |   World Factbook  |   World Flags  |   Reference Tables  |   List of Lists     
   Academic Disciplines  |   Historical Timeline  |   Themed Timelines  |   Biographies  |   How-Tos     
Your Ad Here
Sponsor by The Tattoo Collection


Boruvka's algorithm
Main Page | See live article | Alphabetical index

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 , is:

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

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 time.