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

06/05/2021
by   Amir Abboud, et al.
0

We design an n^2+o(1)-time algorithm that constructs a cut-equivalent (Gomory-Hu) tree of a simple graph on n nodes. This bound is almost-optimal in terms of n, and it improves on the recent Õ(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 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 m) 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 n-1 times max-flow bound from 1961. The upper bound is Õ(n^22/3) and it would improve to 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/18/2020

Subcubic Algorithms for Gomory-Hu Tree in Unweighted Graphs

Every undirected graph G has a (weighted) cut-equivalent tree T, commonl...
research
01/05/2019

New Algorithms and Lower Bounds for All-Pairs Max-Flow in Undirected Graphs

We investigate the time-complexity of the All-Pairs Max-Flow problem: Gi...
research
11/09/2021

Gomory-Hu Tree in Subcubic Time

In 1961, Gomory and Hu showed that the max-flow values of all n 2 pairs ...
research
11/21/2020

lospre in linear time

Lifetime-optimal speculative partial redundancy elimination (lospre) is ...
research
08/30/2020

Tight Bound for the Number of Distinct Palindromes in a Tree

For an undirected tree with n edges labelled by single letters, we consi...
research
04/05/2018

Distributed Data Compression in Sensor Clusters: A Maximum Independent Flow Approach

Let a cluster (network) of sensors be connected by the communication lin...
research
06/15/2018

Tight Bound of Incremental Cover Trees for Dynamic Diversification

Dynamic diversification---finding a set of data points with maximum dive...

Please sign up or login with your details

Forgot password? Click here to reset