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

11/19/2020
by   Haitao Wang, et al.
0

We consider the problem of computing the diameter of a unicycle graph (i.e., a graph with a unique cycle). We present an O(n) time algorithm for the problem, where n is the number of vertices of the graph. This improves the previous best O(n logn) time solution [Oh and Ahn, ISAAC 2016]. Using this algorithm as a subroutine, we solve the problem of adding a shortcut to a tree so that the diameter of the new graph (which is a unicycle graph) is minimized; our algorithm takes O(n^2 logn) time and O(n) space. The previous best algorithms solve the problem in O(n^2 log^3 n) time and O(n) space [Oh and Ahn, ISAAC 2016], or in O(n^2) time and O(n^2) space [Bilò, ISAAC 2018].

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
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
12/23/2020

Improved Algorithm for Computing the Maximum-volume Bichromatic Separating Box

We consider the problem of computing the largest-area bichromatic separa...
research
01/19/2020

Chaining with overlaps revisited

Chaining algorithms aim to form a semi-global alignment of two sequences...
research
02/25/2021

A Linear Time Algorithm for Constructing Hierarchical Overlap Graphs

The hierarchical overlap graph (HOG) is a graph that encodes overlaps fr...
research
05/27/2023

Finding Diameter-Reducing Shortcuts in Trees

In the k-Diameter-Optimally Augmenting Tree Problem we are given a tree ...
research
04/17/2018

Time- and space-optimal algorithms for the many-visits TSP

The many-visits traveling salesperson problem (MV-TSP) asks for an optim...

Please sign up or login with your details

Forgot password? Click here to reset