English

A Simple Algorithm for Multiple-Source Shortest Paths in Planar Digraphs

Data Structures and Algorithms 2023-07-31 v4

Abstract

Given an nn-vertex planar embedded digraph GG with non-negative edge weights and a face ff of GG, Klein presented a data structure with O(nlogn)O(n\log n) space and preprocessing time which can answer any query (u,v)(u,v) for the shortest path distance in GG from uu to vv or from vv to uu in O(logn)O(\log n) time, provided uu is on ff. 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(nlogf)O(n\log |f|) and query time is O(logf)O(\log |f|) which is an improvement over Klein's data structure when ff has small size.

Keywords

Cite

@article{arxiv.2111.07360,
  title  = {A Simple Algorithm for Multiple-Source Shortest Paths in Planar Digraphs},
  author = {Debarati Das and Evangelos Kipouridis and Maximilian Probst Gutenberg and Christian Wulff-Nilsen},
  journal= {arXiv preprint arXiv:2111.07360},
  year   = {2023}
}

Comments

Paper accepted at SOSA22 (this version fixes some typos)