Skip to main content
QUICK REVIEW

[Paper Review] Isometric Embeddings in Trees and Their Use in Distance Problems

Guillaume Ducoffe|arXiv (Cornell University)|Nov 17, 2020
Advanced Graph Theory ResearchComputer Science50 references3 citations
TL;DR

This paper presents an O(2^O(k)(n + m)^{1+o(1)})-time algorithm for computing the diameter, Wiener index, and median set in n-vertex m-edge graphs of clique-width at most k, matching the conditional lower bound under SETH. It leverages a novel distance-labeling scheme using O(k log²n) bits per vertex and constructs it in O(k(n + m) log n) time, enabling an O(kn² log n)-time All-Pairs Shortest-Paths solution, thus resolving an open question on parameterized algorithms for distance problems in bounded clique-width graphs.

ABSTRACT

Coudert et al. (SODA'18) proved that under the Strong Exponential-Time Hypothesis, for any $ε>0$, there is no ${\cal O}(2^{o(k)}n^{2-ε})$-time algorithm for computing the diameter within the $n$-vertex cubic graphs of clique-width at most $k$. We present an algorithm which given an $n$-vertex $m$-edge graph $G$ and a $k$-expression, computes all the eccentricities in ${\cal O}(2^{{\cal O}(k)}(n+m)^{1+o(1)})$ time, thus matching their conditional lower bound. It can be modified in order to compute the Wiener index and the median set of $G$ within the same amount of time. On our way, we get a distance-labeling scheme for $n$-vertex $m$-edge graphs of clique-width at most $k$, using ${\cal O}(k\log^2{n})$ bits per vertex and constructible in ${\cal O}(k(n+m)\log{n})$ time from a given $k$-expression. Doing so, we match the label size obtained by Courcelle and Vanicat (DAM 2016), while we considerably improve the dependency on $k$ in their scheme. As a corollary, we get an ${\cal O}(kn^2\log{n})$-time algorithm for computing All-Pairs Shortest-Paths on $n$-vertex graphs of clique-width at most $k$. This partially answers an open question of Kratsch and Nelles (STACS'20).

Motivation & Objective

  • To close the gap between conditional lower bounds and known algorithms for computing the diameter in bounded clique-width graphs.
  • To develop a distance-labeling scheme for bounded clique-width graphs with improved dependency on k compared to prior work.
  • To provide a quasi-linear time parameterized algorithm for distance problems in graphs of bounded clique-width, matching the SETH-based lower bound.
  • To answer an open question on the parameterized complexity of All-Pairs Shortest-Paths in bounded clique-width graphs.

Proposed method

  • Designing a recursive algorithm based on tree decompositions and k-expressions to compute eccentricities efficiently.
  • Using a novel distance-labeling scheme that assigns O(k log²n) bits per vertex, constructible in O(k(n + m) log n) time from a k-expression.
  • Applying the orthogonal range query framework to compute all-pair distances in bounded clique-width graphs.
  • Proving that the labeling scheme supports efficient distance queries and enables the computation of the Wiener index and median set.
  • Extending the algorithm to compute the Wiener index and median set by leveraging the same labeling and decomposition structure.
  • Using induction on the recursive decomposition of the graph to maintain k-modules and ensure correctness of the labeling and distance computation.

Experimental results

Research questions

  • RQ1Can an O(2^O(k)(n + m)^{1+o(1)})-time algorithm be designed for computing the diameter in graphs of clique-width at most k, matching the SETH-based lower bound?
  • RQ2Can a distance-labeling scheme for bounded clique-width graphs be constructed with O(k log²n) bits per vertex and sub-exponential dependency on k?
  • RQ3Does the proposed framework enable an efficient All-Pairs Shortest-Paths algorithm in O(kn² log n) time for bounded clique-width graphs?
  • RQ4Can the same techniques be extended to compute the Wiener index and median set within the same time complexity?
  • RQ5Is it possible to achieve a truly subquadratic parameterized algorithm for distance problems in bounded clique-width graphs, with singly-exponential dependency on clique-width?

Key findings

  • The paper presents the first algorithm that matches the SETH-based conditional lower bound of Coudert et al. for diameter computation in bounded clique-width graphs, running in O(2^O(k)(n + m)^{1+o(1)}) time.
  • A distance-labeling scheme is constructed using O(k log²n) bits per vertex, improving the dependency on k compared to Courcelle and Vanicat’s scheme while maintaining the same label size.
  • The algorithm computes the Wiener index and median set in the same time complexity as the diameter computation, demonstrating broad applicability to distance invariants.
  • An O(kn² log n)-time algorithm is obtained for All-Pairs Shortest-Paths on n-vertex graphs of clique-width at most k, partially resolving an open question by Kratsch and Nelles.
  • The recursive structure of the algorithm ensures that the total running time remains within O(2^O(k)(n + m)^{1+o(1)}) by bounding the sum of subproblems across recursion levels via a (2/3)^r decay in node counts.
  • The correctness of the algorithm is established via induction on the recursive decomposition, relying on properties of k-modules and least common ancestors in the tree representation.

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.