Subquadratic-time Algorithm for the Diameter and all Eccentricities on Median Graphs - Archive ouverte HAL
Article Dans Une Revue Theory of Computing Systems Année : 2024

Subquadratic-time Algorithm for the Diameter and all Eccentricities on Median Graphs

Résumé

On sparse graphs, Roditty and Williams [2013] proved that no $O(n^{2-\varepsilon)$ time algorithm achieves an approximation factor smaller than 3/2 for the diameter problem unless SETH fails. In this article, we solve an open question formulated in the literature: can we use the structural properties of median graphs to break this global quadratic barrier? We propose the first combinatorial algorithm computing exactly all eccentricities of a median graph in truly subquadratic time. Median graphs constitute the family of graphs which is the most studied in metric graph theory because their structure represents many other discrete and geometric concepts, such as CAT(0) cube complexes. Our result generalizes a recent one, stating that there is a linear-time algorithm for all eccentricities in median graphs with bounded dimension d, i.e. the dimension of the largest induced hypercube. This prerequisite on d is not necessary anymore to determine all eccentricities in subquadratic time. The execution time of our algorithm is $O(n^{1.6456} \log^{O(1)}{n})$. We provide also some satellite outcomes related to this general result. In particular, restricted to simplex graphs, this algorithm enumerates all eccentricities with a quasilinear running time. Moreover, an algorithm is proposed to compute exactly all reach centralities in time $O(2^{3d} n log^{O(1)}{n})$.
Fichier principal
Vignette du fichier
subquadratic_median (4).pdf (722.08 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Licence

Dates et versions

hal-04452245 , version 1 (12-02-2024)

Licence

Identifiants

Citer

Pierre Bergé, Guillaume Ducoffe, Michel Habib. Subquadratic-time Algorithm for the Diameter and all Eccentricities on Median Graphs. Theory of Computing Systems, 2024, 68 (1), pp.144-193. ⟨10.1007/s00224-023-10153-9⟩. ⟨hal-04452245⟩
34 Consultations
58 Téléchargements

Altmetric

Partager

More