Graph Theory37 sections · 1633 units
Open in Course

Stoer-Wagner Algorithm

(Finding global min cut)

The Stoer-Wagner algorithm finds the global minimum cut in O(n3)O(n^3) time. It works by repeatedly finding minimum ss-tt cuts for carefully chosen ss and tt, then merging vertices. The algorithm contracts the graph by merging vertices and tracking cut weights.

After n1n-1 iterations, you have checked enough cuts to find the global minimum. This is the standard approach for global minimum cut in undirected graphs.

Space complexity is O(V+E)O(V + E) for the data structures used.