TY - JOUR
T1 - Voronoi diagrams on planar graphs, and computing the diameter in deterministic Õ(n5/3) time
AU - Gawrychowski, Pawęl
AU - Kaplan, Haim
AU - Mozes, Shay
AU - Sharir, Micha
AU - Weimann, Oren
N1 - Publisher Copyright:
© 2021 Society for Industrial and Applied Mathematics Publications. All rights reserved.
PY - 2021
Y1 - 2021
N2 - We present an explicit and efficient construction of additively weighted Voronoi diagrams on planar graphs. Let G be a planar graph with n vertices and b sites that lie on a constant number of faces. We show how to preprocess G in Õ(nb2) time so that one can compute any additively weighted Voronoi diagram for these sites in Õ(b) time. We use this construction to compute the diameter of a directed planar graph with real arc lengths in Õ(n5/3) time. This improves the recent breakthrough result of Cabello [SODA 2017, SIAM, Philadelphia, 2017, pp. 2143-2152], both by improving the running time (from Õ(n11/6)), and by providing a deterministic algorithm. It is in fact the first truly subquadratic deterministic algorithm for this problem. Our use of Voronoi diagrams to compute the diameter follows that of Cabello, but he used abstract Voronoi diagrams, which makes his diameter algorithm more involved, more expensive, and randomized. As in Cabello's work, our algorithm can compute, for every vertex v, both the farthest vertex from v (i.e., the eccentricity of v), and the sum of distances from v to all other vertices. Hence, our algorithm can also compute the radius, median, and Wiener index (sum of all pairwise distances) of a planar graph within the same time bounds. Our construction of Voronoi diagrams for planar graphs is of independent interest.
AB - We present an explicit and efficient construction of additively weighted Voronoi diagrams on planar graphs. Let G be a planar graph with n vertices and b sites that lie on a constant number of faces. We show how to preprocess G in Õ(nb2) time so that one can compute any additively weighted Voronoi diagram for these sites in Õ(b) time. We use this construction to compute the diameter of a directed planar graph with real arc lengths in Õ(n5/3) time. This improves the recent breakthrough result of Cabello [SODA 2017, SIAM, Philadelphia, 2017, pp. 2143-2152], both by improving the running time (from Õ(n11/6)), and by providing a deterministic algorithm. It is in fact the first truly subquadratic deterministic algorithm for this problem. Our use of Voronoi diagrams to compute the diameter follows that of Cabello, but he used abstract Voronoi diagrams, which makes his diameter algorithm more involved, more expensive, and randomized. As in Cabello's work, our algorithm can compute, for every vertex v, both the farthest vertex from v (i.e., the eccentricity of v), and the sum of distances from v to all other vertices. Hence, our algorithm can also compute the radius, median, and Wiener index (sum of all pairwise distances) of a planar graph within the same time bounds. Our construction of Voronoi diagrams for planar graphs is of independent interest.
KW - Diameter
KW - Divide-and-conquer
KW - Planar graph
KW - Shortest paths
KW - Voronoi diagrams
UR - http://www.scopus.com/inward/record.url?scp=85104434732&partnerID=8YFLogxK
U2 - 10.1137/18M1193402
DO - 10.1137/18M1193402
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:85104434732
SN - 0097-5397
VL - 50
SP - 509
EP - 554
JO - SIAM Journal on Computing
JF - SIAM Journal on Computing
IS - 2
ER -