English

Fast and Compact Exact Distance Oracle for Planar Graphs

Data Structures and Algorithms 2017-05-03 v3

Abstract

For a given a graph, a distance oracle is a data structure that answers distance queries between pairs of vertices. We introduce an O(n5/3)O(n^{5/3})-space distance oracle which answers exact distance queries in O(logn)O(\log n) time for nn-vertex planar edge-weighted digraphs. All previous distance oracles for planar graphs with truly subquadratic space i.e., space O(n2ϵ)O(n^{2 - \epsilon}) for some constant ϵ>0\epsilon > 0) either required query time polynomial in nn or could only answer approximate distance queries. Furthermore, we show how to trade-off time and space: for any Sn3/2S \ge n^{3/2}, we show how to obtain an SS-space distance oracle that answers queries in time O((n5/2/S3/2)logn)O((n^{5/2}/ S^{3/2}) \log n). This is a polynomial improvement over the previous planar distance oracles with o(n1/4)o(n^{1/4}) query time.

Keywords

Cite

@article{arxiv.1702.03259,
  title  = {Fast and Compact Exact Distance Oracle for Planar Graphs},
  author = {Vincent Cohen-Addad and Søren Dahlgaard and Christian Wulff-Nilsen},
  journal= {arXiv preprint arXiv:1702.03259},
  year   = {2017}
}
R2 v1 2026-06-22T18:15:07.934Z