Two-point L1 shortest path queries in the plane
<p>Let $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 struc...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Carleton University
2016-12-01
|
Series: | Journal of Computational Geometry |
Online Access: | http://jocg.org/index.php/jocg/article/view/293 |
id |
doaj-966ccdffbad243ccabbfb469aef0b109 |
---|---|
record_format |
Article |
spelling |
doaj-966ccdffbad243ccabbfb469aef0b1092020-11-24T22:36:38ZengCarleton UniversityJournal of Computational Geometry1920-180X2016-12-017110.20382/jocg.v7i1a20108Two-point L1 shortest path queries in the planeDanny Z. Chen0Rajasekhar Inkulu1Haitao Wang2University of Notre DameIndian Institute of Technology GuwahatiUtah State University<p>Let $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 \log h 4^{\sqrt{\log h}})$ in $O(n+h^2 \log^{2}h 4^{\sqrt{\log h}})$ time that answers each query in $O(\log n+k)$ time. (In contrast, for the Euclidean version of this two-point query problem, the best known algorithm uses $O(n^{11})$ space to achieve an $O(\log n+k)$ query time.) Further, we extend our techniques to the weighted rectilinear version in which the ``obstacles" of $P$ are rectilinear regions with ``weights" and allow $L_1$ paths to travel through them with weighted costs. Previously, a data structure of size $O(n^2\log^2 n)$ was built in $O(n^2\log^2 n)$ time that answers each query in $O(\log^2 n+k)$ time. Our new algorithm answers each query in $O(\log n+k)$ time with a data structure of size $O(n^2 \log n 4^{\sqrt{\log n}})$ that is built in $O(n^2 \log^2 n 4^{\sqrt{\log n}})$ time.</p>http://jocg.org/index.php/jocg/article/view/293 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Danny Z. Chen Rajasekhar Inkulu Haitao Wang |
spellingShingle |
Danny Z. Chen Rajasekhar Inkulu Haitao Wang Two-point L1 shortest path queries in the plane Journal of Computational Geometry |
author_facet |
Danny Z. Chen Rajasekhar Inkulu Haitao Wang |
author_sort |
Danny Z. Chen |
title |
Two-point L1 shortest path queries in the plane |
title_short |
Two-point L1 shortest path queries in the plane |
title_full |
Two-point L1 shortest path queries in the plane |
title_fullStr |
Two-point L1 shortest path queries in the plane |
title_full_unstemmed |
Two-point L1 shortest path queries in the plane |
title_sort |
two-point l1 shortest path queries in the plane |
publisher |
Carleton University |
series |
Journal of Computational Geometry |
issn |
1920-180X |
publishDate |
2016-12-01 |
description |
<p>Let $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 \log h 4^{\sqrt{\log h}})$ in $O(n+h^2 \log^{2}h 4^{\sqrt{\log h}})$ time that answers each query in $O(\log n+k)$ time. (In contrast, for the Euclidean version of this two-point query problem, the best known algorithm uses $O(n^{11})$ space to achieve an $O(\log n+k)$ query time.) Further, we extend our techniques to the weighted rectilinear version in which the ``obstacles" of $P$ are rectilinear regions with ``weights" and allow $L_1$ paths to travel through them with weighted costs. Previously, a data structure of size $O(n^2\log^2 n)$ was built in $O(n^2\log^2 n)$ time that answers each query in $O(\log^2 n+k)$ time. Our new algorithm answers each query in $O(\log n+k)$ time with a data structure of size $O(n^2 \log n 4^{\sqrt{\log n}})$ that is built in $O(n^2 \log^2 n 4^{\sqrt{\log n}})$ time.</p> |
url |
http://jocg.org/index.php/jocg/article/view/293 |
work_keys_str_mv |
AT dannyzchen twopointl1shortestpathqueriesintheplane AT rajasekharinkulu twopointl1shortestpathqueriesintheplane AT haitaowang twopointl1shortestpathqueriesintheplane |
_version_ |
1725719230961156096 |