English

Computing Diameter +1 in Truly Subquadratic Time for Unit-Disk Graphs

Data Structures and Algorithms 2024-11-01 v2 Computational Geometry

Abstract

Finding the diameter of a graph in general cannot be done in truly subquadratic assuming the Strong Exponential Time Hypothesis (SETH), even when the underlying graph is unweighted and sparse. When restricting to concrete classes of graphs and assuming SETH, planar graphs and minor-free graphs admit truly subquadratic algorithms, while geometric intersection graphs of unit balls, congruent equilateral triangles, and unit segments do not. Unit-disk graphs are one of the major open cases where the complexity of diameter computation remains unknown. More generally, it is conjectured that a truly-subquadratic time algorithm exists for pseudo-disk graphs where each pair of objects has at most two intersections on the boundary. In this paper, we show a truly-subquadratic algorithm of running time O~(n21/18)\tilde{O}(n^{2-1/18}), for finding the diameter in a unit-disk graph, whose output differs from the optimal solution by at most 1. This is the first algorithm that provides an additive guarantee in distortion, independent of the size or the diameter of the graph. Our algorithm requires two important technical elements. First, we show that for the intersection graph of pseudo-disks, the graph VC-dimension, either of kk-hop balls or the distance encoding vectors, is 4. Second, we introduce a clique-based rr-clustering for geometric intersection graphs, which is an analog of the rr-division construction for planar graphs. We also showcase the new techniques by establishing new results for distance oracles for unit-disk graphs with subquadratic storage and O(1)O(1) query time. The results naturally extend to unit L1L_1- or LL_\infty-disks and fat pseudo-disks of similar size. Last, if the pseudo-disks additionally have bounded ply, we have a truly-subquadratic algorithm to find the exact diameter.

Keywords

Cite

@article{arxiv.2401.12881,
  title  = {Computing Diameter +1 in Truly Subquadratic Time for Unit-Disk Graphs},
  author = {Hsien-Chih Chang and Jie Gao and Hung Le},
  journal= {arXiv preprint arXiv:2401.12881},
  year   = {2024}
}

Comments

Improving the approximation to +1 from +2 in the previous conference version. Incorporating reviewers' comments. 30 pages, 9 figures

R2 v1 2026-06-28T14:24:54.519Z