Why it matters

Gomory-Hu compactly encodes all min-cuts. Understanding shapes structural graph theory.

Advertisement

The architecture

Build tree T from n-1 max-flows.

Min-cut(u, v) = min edge on T path from u to v.

Gomory-Hu treen-1 max-flowsiterativeBuild tree Tencoding cutsQuerypath min edgeAny pair min-cut queryable via tree path minimum
Gomory-Hu.
Advertisement

How it works end to end

Iterative: pair vertices; run max-flow; refine tree.

Uses Ford-Fulkerson variant.

Cut function submodular structure.