Almost optimal algorithms for diameter-optimally augmenting trees

09/24/2018
by   Davide Bilò, et al.
0

We consider the problem of augmenting an n-vertex tree with one shortcut in order to minimize the diameter of the resulting graph. The tree is embedded in an unknown space and we have access to an oracle that, when queried on a pair of vertices u and v, reports the weight of the shortcut (u,v) in constant time. Previously, the problem was solved in O(n^2 ^3 n) time (see DBLP:conf/isaac/0001A16a) and in O(n n) time for paths embedded in a metric space (see DBLP:conf/wads/wang). Furthermore, a (1+ϵ)-approximation algorithm running in O(n+1/ϵ^3) has been designed for paths embedded in R^d, for constant values of d, in DBLP:conf/icalp/GrosseGKSS15. The contribution of this paper is twofold: we solve the problem for trees (not only paths) and we also improve upon all known results. More precisely, we design an optimal O(n^2) time algorithm. Furthermore, for trees embedded in a metric space, we design (i) an exact O(n n) time algorithm and (ii) a (1+ϵ)-approximation algorithm that runs in O(n+1/ϵ1/ϵ) time.

READ FULL TEXT

page 1

page 2

page 3

page 4

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
05/27/2023

Finding Diameter-Reducing Shortcuts in Trees

In the k-Diameter-Optimally Augmenting Tree Problem we are given a tree ...
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
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
04/26/2019

A Linear-Time Algorithm for Radius-Optimally Augmenting Paths in a Metric Space

Let P be a path graph of n vertices embedded in a metric space. We consi...
research
07/21/2020

Maximum Weight Disjoint Paths in Outerplanar Graphs via Single-Tree Cut Approximators

Since 2000 there has been a steady stream of advances for the maximum we...
research
07/26/2018

Computing optimal shortcuts for networks

We study augmenting a plane Euclidean network with a segment, called a s...

Please sign up or login with your details

Forgot password? Click here to reset