Diameter, radius and all eccentricities in linear time for constant-dimension median graphs - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2021

Diameter, radius and all eccentricities in linear time for constant-dimension median graphs

Résumé

Median graphs form the class of graphs which is the most studied in metric graph theory. Recently, B\'en\'eteau et al. [2019] designed a linear-time algorithm computing both the $\Theta$-classes and the median set of median graphs. A natural question emerges: is there a linear-time algorithm computing the diameter and the radius for median graphs? We answer positively to this question for median graphs $G$ with constant dimension $d$, i.e. the dimension of the largest induced hypercube of $G$. We propose a combinatorial algorithm computing all eccentricities of median graphs with running time $O(2^{O(d\log d)}n)$. As a consequence, this provides us with a linear-time algorithm determining both the diameter and the radius of median graphs with $d = O(1)$, such as cube-free median graphs. As the hypercube of dimension 4 is not planar, it shows also that all eccentricities of planar median graphs can be computed in $O(n)$.
Fichier principal
Vignette du fichier
2105.12150.pdf (384.87 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04159957 , version 1 (12-07-2023)

Identifiants

Citer

Pierre Bergé, Michel Habib. Diameter, radius and all eccentricities in linear time for constant-dimension median graphs. 2023. ⟨hal-04159957⟩
12 Consultations
52 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More