Abstract

Let V be a set of points in a d-dimensional l p-metric space. Let s,t∈V and let L be a real number. An L-bounded leg path from s to t is an ordered set of points which connects s to t such that the leg between any two consecutive points in the set has length of at most L. The minimal path among all these paths is the L-bounded leg shortest path from s to t. In the s–t Bounded Leg Shortest Path (stBLSP) problem we are given two points s and t and a real number L, and are required to compute an L-bounded leg shortest path from s to t. In the All-Pairs Bounded Leg Shortest Path (apBLSP) problem we are required to build a data structure that, given any two query points from V and a real number L, outputs the length of the L-bounded leg shortest path (a distance query) or the path itself (a path query). In this paper we obtain the following results: An algorithm for the apBLSP problem in any l p-metric which, for any fixed e>0, computes in O(n3(log 3n+log 2n⋅e−d)) time a data structure which approximates any bounded leg shortest path within a multiplicative error of (1+e). It requires O(n2log n) space and distance queries are answered in O(log log n) time. An algorithm for the stBLSP problem that, given s,t∈V and a real number L, computes in O(n⋅polylog(n)) the exact L-bounded shortest path from s to t. This algorithm works in l1 and l∞ metrics. In the Euclidean metric we also obtain an exact algorithm but with a running time of O(n4/3+e), for any e>0. For any weighted directed graph we give a data structure of size O(n2.5log n) which is capable of answering path queries with a multiplicative error of (1+e) in O(log log n+l) time, where l is the length of the reported path. Our results improve upon the results given by Bose et al. (Comput. Geom. Theory Appl. 29:233–249, 2004). Our algorithms incorporate several new ideas along with an interesting observation made on geometric spanners, which is of independent interest.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.