Skip to main content
QUICK REVIEW

[Paper Review] Minimum Cycle Basis and All-Pairs Min Cut of a Planar Graph in Subquadratic Time

Christian Wulff‐Nilsen|ArXiv.org|Dec 7, 2009
Advanced Graph Theory ResearchComputer Science23 references5 citations
TL;DR

This paper presents an $O(n^{3/2}"log n)$ time and $O(n^{3/2})$ space algorithm for computing a minimum cycle basis (MCB) of a planar graph with non-negative edge weights, achieving subquadratic performance by implicitly representing the basis. The key contribution is that this approach enables output-sensitive computation of the MCB in $O(n^{3/2}"log n + C)$ time and $O(n^{3/2} + C)$ space, where $C$ is the total size of the cycles in the basis, and extends to efficiently solve the all-pairs min cut problem, weight vector computation, and Gomory-Hu tree construction for planar graphs.

ABSTRACT

A minimum cycle basis of a weighted undirected graph $G$ is a basis of the cycle space of $G$ such that the total weight of the cycles in this basis is minimized. If $G$ is a planar graph with non-negative edge weights, such a basis can be found in $O(n^2)$ time and space, where $n$ is the size of $G$. We show that this is optimal if an explicit representation of the basis is required. We then present an $O(n^{3/2}\log n)$ time and $O(n^{3/2})$ space algorithm that computes a minimum cycle basis \emph{implicitly}. From this result, we obtain an output-sensitive algorithm that explicitly computes a minimum cycle basis in $O(n^{3/2}\log n + C)$ time and $O(n^{3/2} + C)$ space, where $C$ is the total size (number of edges and vertices) of the cycles in the basis. These bounds reduce to $O(n^{3/2}\log n)$ and $O(n^{3/2})$, respectively, when $G$ is unweighted. We get similar results for the all-pairs min cut problem since it is dual equivalent to the minimum cycle basis problem for planar graphs. We also obtain $O(n^{3/2}\log n)$ time and $O(n^{3/2})$ space algorithms for finding, respectively, the weight vector and a Gomory-Hu tree of $G$. The previous best time and space bound for these two problems was quadratic. From our Gomory-Hu tree algorithm, we obtain the following result: with $O(n^{3/2}\log n)$ time and $O(n^{3/2})$ space for preprocessing, the weight of a min cut between any two given vertices of $G$ can be reported in constant time. Previously, such an oracle required quadratic time and space for preprocessing. The oracle can also be extended to report the actual cut in time proportional to its size.

Motivation & Objective

  • To develop a subquadratic algorithm for computing a minimum cycle basis (MCB) in planar graphs with non-negative edge weights.
  • To achieve output-sensitive computation of the MCB by implicitly representing the basis and then explicitly constructing it in time proportional to the total cycle size.
  • To extend the MCB algorithm to solve the all-pairs min cut problem (APMCP) for planar graphs, leveraging duality between MCB and APMC.
  • To compute the weight vector and Gomory-Hu tree of a planar graph in $O(n^{3/2}"log n)$ time and $O(n^{3/2})$ space, improving over the previous quadratic bounds.
  • To construct a min-cut oracle for planar graphs that supports constant-time query reporting after $O(n^{3/2}"log n)$ preprocessing and $O(n^{3/2})$ space.

Proposed method

  • The algorithm uses a divide-and-conquer approach on planar graphs, exploiting their structural properties to reduce the problem size recursively.
  • It implicitly computes the MCB by maintaining a compact representation that avoids storing all cycles explicitly until needed.
  • The method relies on shortest path computations in planar graphs using a lex-shortest path tree data structure with $O("log n)$ time per predecessor update via binary lifting and vertex index comparisons.
  • It employs a hierarchical ancestor data structure with $p_i[u]$ and $m_i[u]$ pointers to support $O(\log n)$ time lowest common ancestor and minimum vertex index queries on paths.
  • The algorithm computes the MCB by combining shortest path trees with cycle space basis extraction, using the dual equivalence between MCB and all-pairs min cut in planar graphs.
  • For Gomory-Hu tree construction, the algorithm leverages the implicit MCB representation to build a tree that compactly encodes all min-cut information in $O(n^{3/2}"log n)$ time.

Experimental results

Research questions

  • RQ1Can a minimum cycle basis of a planar graph be computed in subquadratic time and space?
  • RQ2Is it possible to compute the MCB implicitly and then explicitly in output-sensitive time?
  • RQ3Can the all-pairs min cut problem for planar graphs be solved in subquadratic time using MCB duality?
  • RQ4Can the weight vector and Gomory-Hu tree of a planar graph be computed in $O(n^{3/2}"log n)$ time and $O(n^{3/2})$ space?
  • RQ5Can a min-cut oracle for planar graphs be constructed with subquadratic preprocessing time and space?

Key findings

  • The paper proves that $\Omega(n^2)$ time is required for any algorithm that explicitly outputs the MCB of a planar graph, making the previous $O(n^2)$ bound optimal for explicit representations.
  • An implicit MCB computation is achieved in $O(n^{3/2}"log n)$ time and $O(n^{3/2})$ space, which is subquadratic and optimal under the assumption of implicit output.
  • An output-sensitive algorithm computes the explicit MCB in $O(n^{3/2}"log n + C)$ time and $O(n^{3/2} + C)$ space, where $C$ is the total size of the cycles in the basis.
  • For unweighted planar graphs, the bounds simplify to $O(n^{3/2}"log n)$ time and $O(n^{3/2})$ space for both implicit and explicit MCB computation.
  • The algorithm enables $O(n^{3/2}"log n)$ time and $O(n^{3/2})$ space construction of the Gomory-Hu tree and the weight vector of a planar graph, improving over the previous $O(n^2)$ bound.
  • A min-cut oracle is constructed with $O(n^{3/2}"log n)$ preprocessing time and $O(n^{3/2})$ space, supporting constant-time queries for min-cut weights and $O(k)$ time for reporting the actual cut of size $k$.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.