Undirected, General MST

A minimum spanning tree (MST) or minimum weight spanning tree is a subset of the edges of a connected; edge-weighted undirected graph that connects all the vertices together; without any cycles and with the minimum possible total edge weight. Here, there are no restrictions on edge weights or graph density.

Parameters

  • VV: number of vertices
  • EE: number of edges
  • UU: maximum edge weight

Filters

Computational Model

Randomization

Approximation

Algorithms Table

Displaying 16 of 16 algorithms

See more
Filter Kruskal algorithm2009O(ElogV)O(E \log V)O(E)O(E)
Quick Kruskal algorithm2006O(ElogV)O(E \log V)O(E)O(E)
Pettie, Ramachandran2002unknown but optimalO(E) auxiliary
Chazelle's algorithm2000O(Eα(E,V))O(E \alpha(E, V))O(E)O(E)
Thorup (reverse-delete)2000O(ElogV(loglogV)3)O(E \log V (\log \log V)^3)O(E)O(E)
Karger; Klein & Tarjan1995O(min(V2,ElogV))O(\min(V^2, E \log V))O(E)O(E)
Kruskal’s algorithm with demand-sorting1991O(ElogV)O(E \log V)O(E)O(E)
Prim's algorithm + Fibonacci heaps; Fredman & Tarjan1987O(E+VlogV)O(E + V \log V)O(V)O(V)
Fredman & Tarjan1987O(E*beta(E, V)) where beta(m, n) = min(i such that log^(i)(n)≤m/n); this is also O(E (log-star)V)O(E) auxiliary
Gabow et al, Section 21986O(E*log(beta(E, V)))O(E) auxiliary
Cheriton-Tarjan Algorithm1976O(EloglogV)O(E \log \log V)O(E)O(E)
Yao's algorithm1975O(EloglogV)O(E \log \log V)O(E)O(E)
Prim's algorithm + binary heap1964O(ElogV)O(V) auxiliary
Prim's algorithm + adjacency matrix searching1957O(V2)O(V^2)O(V)O(V)
Kruskal's algorithm1956O(ElogE)O(E \log E)O(E)O(E)
Borůvka's algorithm1926O(ElogV)O(E \log V)O(V)O(V)

Reductions Table

Insuffient Data to display table

Other relevant algorithms

Insuffient Data to display table