Approximating the diameter of a graph

Abstract

In this paper we consider the fundamental problem of approximating the diameter D of directed or undirected graphs. In a seminal paper, Aingworth, Chekuri, Indyk and Motwani [SIAM J. Comput. 1999] presented an algorithm that computes in (m n + n2) time an estimate D for the diameter of an n-node, m-edge graph, such that 2/3 D ≤ D ≤ D. In this paper we present an algorithm that produces the same estimate in (m n) expected running time. We then provide strong evidence that a better approximation may be hard to obtain if we insist on an O(m2-) running time. In particular, we show that if there is some constant >0 so that there is an algorithm for undirected unweighted graphs that runs in O(m2-) time and produces an approximation D such that (2/3+) D ≤ D ≤ D, then SAT for CNF formulas on n variables can be solved in O*((2-δ)n) time for some constant δ>0, and the strong exponential time hypothesis of [Impagliazzo, Paturi, Zane JCSS'01] is false. Motivated by this somewhat negative result, we study whether it is possible to obtain a better approximation for specific cases. For unweighted directed or undirected graphs, we show that if D=3h+z, where h≥ 0 and z∈ 0,1,2, then it is possible to report in O(m2/3 n4/3,m2-1/(2h+3)) time an estimate D such that 2h+z ≤ D≤ D, thus giving a better than 3/2 approximation whenever z≠ 0. This is significant for constant values of D which is exactly when the diameter approximation problem is hardest to solve. For the case of unweighted undirected graphs we present an O(m2/3 n4/3) time algorithm that reports an estimate D such that 4D/5 ≤ D≤ D.

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…