paper

Subcubic Algorithms for Gomory-Hu Tree in Unweighted Graphs

arXiv:2012.10281

Abstract

Every undirected graph has a (weighted) cut-equivalent tree , commonly named after Gomory and Hu who discovered it in 1961. Both and have the same node set, and for every node pair , the minimum -cut in is also an exact minimum -cut in . We give the first subcubic-time algorithm that constructs such a tree for a simple graph (unweighted with no parallel edges). Its time complexity is , for ; previously, only 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 queries to (single-pair) Max-Flow; the new algorithm can be viewed as a fine-grained reduction to Max-Flow computations on -node graphs.