Finding Diameter-Reducing Shortcuts in Trees
Abstract
In the \emph{-Diameter-Optimally Augmenting Tree Problem} we are given a tree of vertices as input. The tree is embedded in an unknown \emph{metric} space and we have unlimited access to an oracle that, given two distinct vertices and of , can answer queries reporting the cost of the edge in constant time. We want to augment with shortcuts in order to minimize the diameter of the resulting graph. For , time algorithms are known both for paths [Wang, CG 2018] and trees [Bil\`o, TCS 2022]. In this paper we investigate the case of multiple shortcuts. We show that no algorithm that performs queries can provide a better than -approximate solution for trees for . For any constant , we instead design a linear-time -approximation algorithm for paths and , thus establishing a dichotomy between paths and trees for . We achieve the claimed running time by designing an ad-hoc data structure, which also serves as a key component to provide a linear-time -approximation algorithm for trees, and to compute the diameter of graphs with edges in time even for non-metric graphs. Our data structure and the latter result are of independent interest.
Cite
@article{arxiv.2305.17385,
title = {Finding Diameter-Reducing Shortcuts in Trees},
author = {Davide Bilò and Luciano Gualà and Stefano Leucci and Luca Pepè Sciarria},
journal= {arXiv preprint arXiv:2305.17385},
year = {2023}
}
Comments
22 pages, 6 figures, WADS 2023