English

Subcubic Algorithms for Gomory-Hu Tree in Unweighted Graphs

Data Structures and Algorithms 2021-04-16 v2

Abstract

Every undirected graph GG has a (weighted) cut-equivalent tree TT, commonly named after Gomory and Hu who discovered it in 1961. Both TT and GG have the same node set, and for every node pair s,ts,t, the minimum (s,t)(s,t)-cut in TT is also an exact minimum (s,t)(s,t)-cut in GG. We give the first subcubic-time algorithm that constructs such a tree for a simple graph GG (unweighted with no parallel edges). Its time complexity is O~(n2.5)\tilde{O}(n^{2.5}), for n=V(G)n=|V(G)|; previously, only O~(n3)\tilde{O}(n^3) was known, except for restricted cases like sparse graphs. Consequently, we obtain the first algorithm for All-Pairs Max-Flow in simple graphs that breaks the cubic-time barrier. Gomory and Hu compute this tree using n1n-1 queries to (single-pair) Max-Flow; the new algorithm can be viewed as a fine-grained reduction to O~(n)\tilde{O}(\sqrt{n}) Max-Flow computations on nn-node graphs.

Keywords

Cite

@article{arxiv.2012.10281,
  title  = {Subcubic Algorithms for Gomory-Hu Tree in Unweighted Graphs},
  author = {Amir Abboud and Robert Krauthgamer and Ohad Trabelsi},
  journal= {arXiv preprint arXiv:2012.10281},
  year   = {2021}
}
R2 v1 2026-06-23T21:04:43.349Z