AlgorithmsGraphsEdit on GitHubEdit history
Stoer–Wagner Algorithm
1997
An algorithm that finds a global minimum cut of an undirected graph with non-negative weights without max-flow computations: each phase adds vertices in maximum-adjacency order, records the cut separating the last two vertices, and then merges those two vertices.
Origin
Mechthild Stoer, Frank Wagner (1997). A simple min-cut algorithm. Journal of the ACM 44(4).doi:10.1145/263867.263872 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Parent algorithms
Where it came from
Prim's Algorithm1930
Structural analysisThe maximum-adjacency order in each phase is built, like Prim's algorithm, by repeatedly adding the vertex most strongly connected to the current set.
Notable implementations
Paths checked against the GitHub default branch
- networkx/networkx/networkx/algorithms/connectivity/stoerwagner.pyPython
- boostorg/graph/include/boost/graph/stoer_wagner_min_cut.hppC++
- jgrapht/jgrapht/jgrapht-core/src/main/java/org/jgrapht/alg/StoerWagnerMinimumCut.javaJava
- networkx/networkx/networkx/algorithms/connectivity/stoerwagner.pyPython
- boostorg/graph/include/boost/graph/stoer_wagner_min_cut.hppC++
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…