OrderedCuts: A new approach for computing Gomory-Hu tree

Abstract

The Gomory-Hu tree, or a cut tree, is a classic data structure that stores minimum s-t cuts of an undirected weighted graph for all pairs of nodes (s,t). We propose a new approach for computing the cut tree based on a reduction to the problem that we call OrderedCuts. Given a sequence of nodes s,v1,…,v, its goal is to compute minimum \s,v1,…,vi-1\-vi cuts for all i∈[]. We show that the cut tree can be computed by O(1) calls to OrderedCuts. We also establish new results for OrderedCuts that may be of independent interest. First, we prove that all cuts can be stored compactly with O(n) space in a data structure that we call an OC tree. Second, we prove results that allow divide-and-conquer algorithms for computing OC tree. Finally, we describe a practical implementation based on OrderedCuts, and compare it experimentally with two existing implementations of the classical Gomory-Hu tree algorithm as well as with our implementations. The results suggest that the OrderedCuts-based approach is the most robust: on many family of problems it outperforms other algorithms by 1-2 orders of magnitude, and is never slower by more than a small factor. Our implementation is publicly available at https://pub.ist.ac.at/~vnk/software.html.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…