English

Towards Space Efficient Two-Point Shortest Path Queries in a Polygonal Domain

Computational Geometry 2024-02-22 v3 Data Structures and Algorithms

Abstract

We devise a data structure that can answer shortest path queries for two query points in a polygonal domain PP on nn vertices. For any ε>0\varepsilon > 0, the space complexity of the data structure is O(n10+ε)O(n^{10+\varepsilon }) and queries can be answered in O(logn)O(\log n) time. Alternatively, we can achieve a space complexity of O(n9+ε)O(n^{9+\varepsilon }) by relaxing the query time to O(log2n)O(\log^2 n). This is the first improvement upon a conference paper by Chiang and Mitchell from 1999. They present a data structure with O(n11)O(n^{11}) space complexity and O(logn)O(\log n) query time. Our main result can be extended to include a space-time trade-off. Specifically, we devise data structures with O(n9+ε/4+O(ε))O(n^{9+\varepsilon}/\hspace{1pt} \ell^{4 + O(\varepsilon )}) space complexity and O(log2n)O(\ell \log^2 n ) query time, for any integer 1n1 \leq \ell \leq n. Furthermore, we present improved data structures with O(logn)O(\log n) query time for the special case where we restrict one (or both) of the query points to lie on the boundary of PP. When one of the query points is restricted to lie on the boundary, and the other query point is unrestricted, the space complexity becomes O(n6+ε)O(n^{6+\varepsilon}). When both query points are on the boundary, the space complexity is decreased further to O(n4+ε)O(n^{4+\varepsilon }), thereby improving an earlier result of Bae and Okamoto.

Keywords

Cite

@article{arxiv.2303.00666,
  title  = {Towards Space Efficient Two-Point Shortest Path Queries in a Polygonal Domain},
  author = {Sarita de Berg and Tillmann Miltzow and Frank Staals},
  journal= {arXiv preprint arXiv:2303.00666},
  year   = {2024}
}

Comments

28 pages, 9 figures

R2 v1 2026-06-28T08:54:46.738Z