In the k-Diameter-Optimally Augmenting Tree Problem we are given a tree T of n vertices embedded in an unknown metric space. An oracle can report the cost of any edge in constant time, and we want to augment T with k shortcuts to minimize the resulting diameter. When k=1, O(nlog⁡n)-time algorithms exist for paths and trees. We show that o(n2) queries cannot provide a better than 10/9-approximation for trees when k≥3. For any constant ε>0, we design a linear-time (1+ε)-approximation algorithm for paths when k=o(log⁡n), thus establishing a dichotomy between paths and trees for k≥3. Our algorithm employs an ad-hoc data structure, which we also use in a linear-time 4-approximation algorithm for trees, and to compute the diameter of (possibly non-metric) graphs with n+k−1 edges in time O(nklog⁡n).

Bilò, D., Guala', L., Leucci, S., Pepè Sciarria, L. (2025). Finding diameter-reducing shortcuts in trees. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 153 [10.1016/j.jcss.2025.103658].

Finding diameter-reducing shortcuts in trees

Guala', Luciano;
2025-01-01

Abstract

In the k-Diameter-Optimally Augmenting Tree Problem we are given a tree T of n vertices embedded in an unknown metric space. An oracle can report the cost of any edge in constant time, and we want to augment T with k shortcuts to minimize the resulting diameter. When k=1, O(nlog⁡n)-time algorithms exist for paths and trees. We show that o(n2) queries cannot provide a better than 10/9-approximation for trees when k≥3. For any constant ε>0, we design a linear-time (1+ε)-approximation algorithm for paths when k=o(log⁡n), thus establishing a dichotomy between paths and trees for k≥3. Our algorithm employs an ad-hoc data structure, which we also use in a linear-time 4-approximation algorithm for trees, and to compute the diameter of (possibly non-metric) graphs with n+k−1 edges in time O(nklog⁡n).
2025
Pubblicato
Rilevanza internazionale
Articolo
Esperti anonimi
Settore INFO-01/A - Informatica
English
Approximation algorithms
Fast diameter computation
Time-efficient algorithms
Tree diameter augmentation
Bilò, D., Guala', L., Leucci, S., Pepè Sciarria, L. (2025). Finding diameter-reducing shortcuts in trees. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 153 [10.1016/j.jcss.2025.103658].
Bilò, D; Guala', L; Leucci, S; Pepè Sciarria, L
Articolo su rivista
File in questo prodotto:
File Dimensione Formato  
JCSS-2025.pdf

accesso aperto

Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 1 MB
Formato Adobe PDF
1 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2108/458023
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact