References & Citations
Computer Science > Data Structures and Algorithms
Title: A Simple Algorithm for Multiple-Source Shortest Paths in Planar Digraphs
(Submitted on 14 Nov 2021 (v1), revised 20 Dec 2021 (this version, v3), latest version 28 Jul 2023 (v4))
Abstract: Given an $n$-vertex planar embedded digraph $G$ with non-negative edge weights and a face $f$ of $G$, Klein presented a data structure with $O(n\log n)$ space and preprocessing time which can answer any query $(u,v)$ for the shortest path distance in $G$ from $u$ to $v$ or from $v$ to $u$ in $O(\log n)$ time, provided $u$ is on $f$. This data structure is a key tool in a number of state-of-the-art algorithms and data structures for planar graphs.
Klein's data structure relies on dynamic trees and the persistence technique as well as a highly non-trivial interaction between primal shortest path trees and their duals. The construction of our data structure follows a completely different and in our opinion very simple divide-and-conquer approach that solely relies on Single-Source Shortest Path computations and contractions in the primal graph. Our space and preprocessing time bound is $O(n\log |f|)$ and query time is $O(\log |f|)$ which is an improvement over Klein's data structure when $f$ has small size.
Submission history
From: Evangelos Kipouridis [view email][v1] Sun, 14 Nov 2021 15:07:07 GMT (163kb,D)
[v2] Fri, 17 Dec 2021 16:07:08 GMT (178kb,D)
[v3] Mon, 20 Dec 2021 15:21:04 GMT (176kb,D)
[v4] Fri, 28 Jul 2023 09:19:07 GMT (176kb,D)
Link back to: arXiv, form interface, contact.