English

Fast deterministic algorithms for computing all eccentricities in (hyperbolic) Helly graphs

Data Structures and Algorithms 2021-02-17 v1 Discrete Mathematics

Abstract

A graph is Helly if every family of pairwise intersecting balls has a nonempty common intersection. The class of Helly graphs is the discrete analogue of the class of hyperconvex metric spaces. It is also known that every graph isometrically embeds into a Helly graph, making the latter an important class of graphs in Metric Graph Theory. We study diameter, radius and all eccentricity computations within the Helly graphs. Under plausible complexity assumptions, neither the diameter nor the radius can be computed in truly subquadratic time on general graphs. In contrast to these negative results, it was recently shown that the radius and the diameter of an nn-vertex mm-edge Helly graph GG can be computed with high probability in O~(mn)\tilde{\mathcal O}(m\sqrt{n}) time (i.e., subquadratic in n+mn+m). In this paper, we improve that result by presenting a deterministic O(mn){\mathcal O}(m\sqrt{n}) time algorithm which computes not only the radius and the diameter but also all vertex eccentricities in a Helly graph. Furthermore, we give a parameterized linear-time algorithm for this problem on Helly graphs, with the parameter being the Gromov hyperbolicity δ\delta. More specifically, we show that the radius and a central vertex of an mm-edge δ\delta-hyperbolic Helly graph GG can be computed in O(δm)\mathcal O(\delta m) time and that all vertex eccentricities in GG can be computed in O(δ2m)\mathcal O(\delta^2 m) time. To show this more general result, we heavily use our new structural properties obtained for Helly graphs.

Keywords

Cite

@article{arxiv.2102.08349,
  title  = {Fast deterministic algorithms for computing all eccentricities in (hyperbolic) Helly graphs},
  author = {Feodor F. Dragan and Guillaume Ducoffe and Heather M. Guarnera},
  journal= {arXiv preprint arXiv:2102.08349},
  year   = {2021}
}
R2 v1 2026-06-23T23:13:22.273Z