English

APMF < APSP? Gomory-Hu Tree for Unweighted Graphs in Almost-Quadratic Time

Data Structures and Algorithms 2021-06-08 v1

Abstract

We design an n2+o(1)n^{2+o(1)}-time algorithm that constructs a cut-equivalent (Gomory-Hu) tree of a simple graph on nn nodes. This bound is almost-optimal in terms of nn, and it improves on the recent O~(n2.5)\tilde{O}(n^{2.5}) bound by the authors (STOC 2021), which was the first to break the cubic barrier. Consequently, the All-Pairs Maximum-Flow (APMF) problem has time complexity n2+o(1)n^{2+o(1)}, and for the first time in history, this problem can be solved faster than All-Pairs Shortest Paths (APSP). We further observe that an almost-linear time algorithm (in terms of the number of edges mm) is not possible without first obtaining a subcubic algorithm for multigraphs. Finally, we derandomize our algorithm, obtaining the first subcubic deterministic algorithm for Gomory-Hu Tree in simple graphs, showing that randomness is not necessary for beating the n1n-1 times max-flow bound from 1961. The upper bound is O~(n223)\tilde{O}(n^{2\frac{2}{3}}) and it would improve to n2+o(1)n^{2+o(1)} if there is a deterministic single-pair maximum-flow algorithm that is almost-linear. The key novelty is in using a ``dynamic pivot'' technique instead of the randomized pivot selection that was central in recent works.

Keywords

Cite

@article{arxiv.2106.02981,
  title  = {APMF < APSP? Gomory-Hu Tree for Unweighted Graphs in Almost-Quadratic Time},
  author = {Amir Abboud and Robert Krauthgamer and Ohad Trabelsi},
  journal= {arXiv preprint arXiv:2106.02981},
  year   = {2021}
}