Approximate Gomory-Hu Tree Is Faster Than n-1 Max-Flows
Approximate Gomory-Hu Tree Is Faster Than n-1 Max-Flows
复制标题
近似 Gomory-Hu 树比 n-1 最大流更快
DOI:
10.1145/3406325.3451112
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Panigrahi, Debmalya
中科院分区:
文献类型:
--
作者:
Li, Jason;Panigrahi, Debmalya
The Gomory-Hu tree or cut tree (Gomory and Hu, 1961) is a classic data structure for reportings−tmincuts (and by duality, the values ofs−tmaxflows) for all pairs of verticessandtin an undirected graph. Gomory and Hu showed that it can be computed usingn−1 exact maxflow computations. Surprisingly, this remains the best algorithm for Gomory-Hu trees more than 50 years later, even for approximate mincuts. In this paper, we break this longstanding barrier and give an algorithm for computing a (1+є)-approximate Gomory-Hu tree using log(n) maxflow computations. Specifically, we obtain the runtime bounds we describe below.We obtain a randomized (Monte Carlo) algorithm for undirected, weighted graphs that runs in Õ(m+n3/2) time and returns a (1+є)-approximate Gomory-Hu tree algorithm whp. Previously, the best running time known was Õ(n5/2), which is obtained by running Gomory and Hu’s original algorithm on a cut sparsifier of the graph.Next, we obtain a randomized (Monte Carlo) algorithm for undirected, unweighted graphs that runs inm4/3+o(1)time and returns a (1+є)-approximate Gomory-Hu tree algorithm whp. This improves on our first result for sparse graphs, namelym=o(n9/8). Previously, the best running time known for unweighted graphs was Õ(mn) for an exact Gomory-Hu tree (Bhalgatet al., STOC 2007); no better result was known if approximations are allowed.As a consequence of our Gomory-Hu tree algorithms, we also solve the (1+є)-approximate all pairs mincut and single source mincut problems in the same time bounds. (These problems are simpler in that the goal is to only return thes−tmincut values, and not the mincuts.) This improves on the recent algorithm for these problems in Õ(n2) time due to Abboud et al. (FOCS 2020).