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(nlogn)-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(logn), 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(nklogn).
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(nlogn)-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(logn), 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(nklogn).| 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.


