8 research outputs found

    Computing a rectilinear shortest path amid splinegons in plane

    Full text link
    We reduce the problem of computing a rectilinear shortest path between two given points s and t in the splinegonal domain \calS to the problem of computing a rectilinear shortest path between two points in the polygonal domain. As part of this, we define a polygonal domain \calP from \calS and transform a rectilinear shortest path computed in \calP to a path between s and t amid splinegon obstacles in \calS. When \calS comprises of h pairwise disjoint splinegons with a total of n vertices, excluding the time to compute a rectilinear shortest path amid polygons in \calP, our reduction algorithm takes O(n + h \lg{n}) time. For the special case of \calS comprising of concave-in splinegons, we have devised another algorithm in which the reduction procedure does not rely on the structures used in the algorithm to compute a rectilinear shortest path in polygonal domain. As part of these, we have characterized few of the properties of rectilinear shortest paths amid splinegons which could be of independent interest

    Bicriteria Rectilinear Shortest Paths among Rectilinear Obstacles in the Plane

    Get PDF
    Given a rectilinear domain P of h pairwise-disjoint rectilinear obstacles with a total of n vertices in the plane, we study the problem of computing bicriteria rectilinear shortest paths between two points s and t in P. Three types of bicriteria rectilinear paths are considered: minimum-link shortest paths, shortest minimum-link paths, and minimum-cost paths where the cost of a path is a non-decreasing function of both the number of edges and the length of the path. The one-point and two-point path queries are also considered. Algorithms for these problems have been given previously. Our contributions are threefold. First, we find a critical error in all previous algorithms. Second, we correct the error in a not-so-trivial way. Third, we further improve the algorithms so that they are even faster than the previous (incorrect) algorithms when h is relatively small. For example, for computing a minimum-link shortest s-t path, the previous algorithm runs in O(n log^{3/2} n) time while the time of our new algorithm is O(n + h log^{3/2} h)

    Two-Point L1 Shortest Path Queries in the Plane

    No full text

    Two-point L1 shortest path queries in the plane

    No full text
    Let PP 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 \log h 4^{\sqrt{\log h}}) in O(n+h2log2h4logh)O(n+h^2 \log^{2}h 4^{\sqrt{\log h}}) time that answers each query in O(logn+k)O(\log n+k) time. (In contrast, for the Euclidean version of this two-point query problem, the best known algorithm uses O(n11)O(n^{11}) space to achieve an O(logn+k)O(\log n+k) query time.) Further, we extend our techniques to the weighted rectilinear version in which the ``obstacles" of PP are rectilinear regions with ``weights" and allow L1L_1 paths to travel through them with weighted costs. Previously, a data structure of size O(n2log2n)O(n^2\log^2 n) was built in O(n2log2n)O(n^2\log^2 n) time that answers each query in O(log2n+k)O(\log^2 n+k) time. Our new algorithm answers each query in O(logn+k)O(\log n+k) time with a data structure of size O(n2logn4logn)O(n^2 \log n 4^{\sqrt{\log n}}) that is built in O(n2log2n4logn)O(n^2 \log^2 n 4^{\sqrt{\log n}}) time

    16th Scandinavian Symposium and Workshops on Algorithm Theory: SWAT 2018, June 18-20, 2018, Malmö University, Malmö, Sweden

    Get PDF
    corecore