English

Near-Optimal Distance Oracles for Vertex-Labeled Planar Graphs

Data Structures and Algorithms 2021-10-04 v1

Abstract

Given an undirected nn-vertex planar graph G=(V,E,ω)G=(V,E,\omega) with non-negative edge weight function ω:ER\omega:E\rightarrow \mathbb R and given an assigned label to each vertex, a vertex-labeled distance oracle is a data structure which for any query consisting of a vertex uu and a label λ\lambda reports the shortest path distance from uu to the nearest vertex with label λ\lambda. We show that if there is a distance oracle for undirected nn-vertex planar graphs with non-negative edge weights using s(n)s(n) space and with query time q(n)q(n), then there is a vertex-labeled distance oracle with O~(s(n))\tilde{O}(s(n)) space and O~(q(n))\tilde{O}(q(n)) query time. Using the state-of-the-art distance oracle of Long and Pettie, our construction produces a vertex-labeled distance oracle using n1+o(1)n^{1+o(1)} space and query time O~(1)\tilde O(1) at one extreme, O~(n)\tilde O(n) space and no(1)n^{o(1)} query time at the other extreme, as well as such oracles for the full tradeoff between space and query time obtained in their paper. This is the first non-trivial exact vertex-labeled distance oracle for planar graphs and, to our knowledge, for any interesting graph class other than trees.

Keywords

Cite

@article{arxiv.2110.00074,
  title  = {Near-Optimal Distance Oracles for Vertex-Labeled Planar Graphs},
  author = {Jacob Evald and Viktor Fredslund-Hansen and Christian Wulff-Nilsen},
  journal= {arXiv preprint arXiv:2110.00074},
  year   = {2021}
}

Comments

15 pages, 3 figures