English

Two-Point $L_1$ Shortest Path Queries in the Plane

Computational Geometry 2014-03-17 v1 Data Structures and Algorithms

Abstract

Let P\mathcal{P} be a set of hh pairwise-disjoint polygonal obstacles with a total of nn vertices in the plane. We consider the problem of building a data structure that can quickly compute an L1L_1 shortest obstacle-avoiding path between any two query points ss and tt. Previously, a data structure of size O(n2logn)O(n^2\log n) was constructed in O(n2log2n)O(n^2\log^2 n) time that answers each two-point query in O(log2n+k)O(\log^2 n+k) time, i.e., the shortest path length is reported in O(log2n)O(\log^2 n) time and an actual path is reported in additional O(k)O(k) time, where kk is the number of edges of the output path. In this paper, we build a new data structure of size O(n+h2logh4logh)O(n+h^2\cdot \log h \cdot 4^{\sqrt{\log h}}) in O(n+h2log2h4logh)O(n+h^2\cdot \log^{2} h \cdot 4^{\sqrt{\log h}}) time that answers each query in O(logn+k)O(\log n+k) time. Note that n+h2log2h4logh=O(n+h2+ϵ)n+h^2\cdot \log^{2} h \cdot 4^{\sqrt{\log h}}=O(n+h^{2+\epsilon}) for any constant ϵ>0\epsilon>0. Further, we extend our techniques to the weighted rectilinear version in which the "obstacles" of P\mathcal{P} are rectilinear regions with "weights" and allow L1L_1 paths to travel through them with weighted costs. Our algorithm answers each query in O(logn+k)O(\log n+k) time with a data structure of size O(n2logn4logn)O(n^2\cdot \log n\cdot 4^{\sqrt{\log n}}) that is built in O(n2log2n4logn)O(n^2\cdot \log^{2} n\cdot 4^{\sqrt{\log n}}) time (note that n2log2n4logn=O(n2+ϵ)n^2\cdot \log^{2} n\cdot 4^{\sqrt{\log n}}= O(n^{2+\epsilon}) for any constant ϵ>0\epsilon>0).

Keywords

Cite

@article{arxiv.1403.3458,
  title  = {Two-Point $L_1$ Shortest Path Queries in the Plane},
  author = {Danny Z. Chen and Rajasekhar Inkulu and Haitao Wang},
  journal= {arXiv preprint arXiv:1403.3458},
  year   = {2014}
}

Comments

38 pages, 13 figures. A preliminary version appeared in SoCG 2014

R2 v1 2026-06-22T03:26:36.510Z