Skip to main content
QUICK REVIEW

[Paper Review] Two-Point $L_1$ Shortest Path Queries in the Plane

Danny Z. Chen, R. Inkulu|arXiv (Cornell University)|Mar 13, 2014
Computational Geometry and Mesh GenerationComputer Science33 references6 citations
TL;DR

This paper presents improved data structures for two-point $L_1$ shortest path queries in the plane with polygonal obstacles, reducing query time from $O(/log^2 n)$ to $O(/log n)$ while maintaining near-linear space. It leverages fractional cascading and hierarchical decomposition to achieve $O(/log n + k)$ query time with $O(n + h^2 \log h \cdot 4^{\sqrt{\log h}})$ space, significantly improving upon prior work for small $h$. The approach extends to weighted rectilinear shortest paths with similar efficiency gains.

ABSTRACT

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

Motivation & Objective

  • To design a data structure that supports $L_1$ shortest path queries between any two points in a free space with $h$ disjoint polygonal obstacles, minimizing query and preprocessing time.
  • To reduce the query time from $O(\log^2 n)$ to $O(\log n)$ while keeping space and preprocessing time close to linear in $n$ for small $h$.
  • To extend the approach to the weighted rectilinear shortest path problem, where obstacles have non-negative weights and path costs depend on region weights.
  • To achieve improved space-time trade-offs for both unweighted and weighted $L_1$ shortest path queries in the plane.

Proposed method

  • Construct a hierarchical decomposition of the free space using vertical decomposition and a visibility graph $G_E(\mathcal{V})$ on obstacle vertices to enable efficient gateway computation.
  • Use fractional cascading on sorted lists of visibility events along cut-lines to accelerate $s$-to-gateway and $t$-to-gateway distance queries in $O(\log n)$ time.
  • Preprocess shortest path trees for each vertex in $G_E(\mathcal{V})$ to enable $O(1)$ lookup of shortest path distances between any two vertices in the graph.
  • For weighted rectilinear paths, maintain edge weights based on obstacle region costs and use weighted distance propagation via precomputed $d_w$ values along segments.
  • Leverage the fact that $4^{\sqrt{\log h}}$ grows slower than any polynomial in $h$, allowing the space bound to be $O(n + h^{2+\epsilon})$ for any $\epsilon > 0$.
  • Combine gateway-based path reconstruction with fractional cascading to compute full path in $O(\log n + k)$ time, where $k$ is the number of edges in the output path.

Experimental results

Research questions

  • RQ1Can we reduce the query time for $L_1$ shortest path queries in the plane from $O(\log^2 n)$ to $O(\log n)$ while maintaining near-linear space?
  • RQ2What is the optimal trade-off between space and preprocessing time for $L_1$ shortest path queries when $h$ is small relative to $n$?
  • RQ3Can the techniques used for unweighted $L_1$ shortest paths be extended to the weighted rectilinear case with region-based costs?
  • RQ4How does the use of fractional cascading and hierarchical decomposition improve the efficiency of visibility-based path computation?

Key findings

  • The paper achieves $O(\log n)$ query time for $L_1$ shortest path queries using a data structure of size $O(n + h^2 \log h \cdot 4^{\sqrt{\log h}})$, which is $O(n + h^{2+\epsilon})$ for any $\epsilon > 0$.
  • For the weighted rectilinear case, the data structure uses $O(n^2 \log n \cdot 4^{\sqrt{\log n}})$ space and $O(n^2 \log^2 n \cdot 4^{\sqrt{\log n}})$ preprocessing time, achieving $O(\log n)$ query time.
  • The query time is improved by a logarithmic factor compared to the prior $O(\log^2 n)$ result from Chen et al. [6], with reduced preprocessing and space when $h = O(n^\delta)$ for $\delta < 1$.
  • The method supports $O(\log n + k)$ query time with $O(nh \log h)$ space and $O(nh \log h + h^2 \log^2 h)$ preprocessing time, offering a space-time trade-off.
  • The use of fractional cascading on visibility lists enables $O(\log n)$ time computation of gateway distances for both source and target points.
  • The approach generalizes to the weighted rectilinear case, where path costs depend on obstacle region weights, achieving $O(\log n)$ query time with $O(n^2 \log n \cdot 4^{\sqrt{\log n}})$ space.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.