Finding Diameter-Reducing Shortcuts in Trees

05/27/2023
by   Davide Bilò, et al.
0

In the k-Diameter-Optimally Augmenting Tree Problem we are given a tree T of n vertices as input. The tree is embedded in an unknown metric space and we have unlimited access to an oracle that, given two distinct vertices u and v of T, can answer queries reporting the cost of the edge (u,v) in constant time. We want to augment T with k shortcuts in order to minimize the diameter of the resulting graph. For k=1, O(n log n) time algorithms are known both for paths [Wang, CG 2018] and trees [Bilò, TCS 2022]. In this paper we investigate the case of multiple shortcuts. We show that no algorithm that performs o(n^2) queries can provide a better than 10/9-approximate solution for trees for k≥ 3. For any constant ε > 0, we instead design a linear-time (1+ε)-approximation algorithm for paths and k = o(√(log n)), thus establishing a dichotomy between paths and trees for k≥ 3. 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 4-approximation algorithm for trees, and to compute the diameter of graphs with n + k - 1 edges in time O(n k log n) even for non-metric graphs. Our data structure and the latter result are of independent interest.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/24/2018

Almost optimal algorithms for diameter-optimally augmenting trees

We consider the problem of augmenting an n-vertex tree with one shortcu...
research
10/29/2020

Isometric embeddings in trees and their use in the diameter problem

We prove that given a discrete space with n points which is either embed...
research
07/19/2016

Fast Algorithms for Diameter-Optimally Augmenting Paths and Trees

We consider the problem of augmenting an n-vertex graph embedded in a me...
research
11/19/2020

Algorithms for Diameters of Unicycle Graphs and Diameter-Optimally Augmenting Trees

We consider the problem of computing the diameter of a unicycle graph (i...
research
08/26/2020

Inapproximability of Diameter in super-linear time: Beyond the 5/3 ratio

We show, assuming the Strong Exponential Time Hypothesis, that for every...
research
08/17/2023

Computing complexity measures of degenerate graphs

We show that the VC-dimension of a graph can be computed in time n^log d...
research
07/15/2023

Sandpile Prediction on Structured Undirected Graphs

We present algorithms that compute the terminal configurations for sandp...

Please sign up or login with your details

Forgot password? Click here to reset