1 research outputs found

    Inplace Algorithm for Priority Search Tree and its use in Computing Largest Empty Axis-Parallel Rectangle

    Full text link
    There is a high demand of space-efficient algorithms in built-in or embedded softwares. In this paper, we consider the problem of designing space-efficient algorithms for computing the maximum area empty rectangle (MER) among a set of points inside a rectangular region R\cal R in 2D. We first propose an inplace algorithm for computing the priority search tree with a set of nn points in R\cal R using O(logn)O(\log n) extra bit space in O(nlogn)O(n\log n) time. It supports all the standard queries on priority search tree in O(log2n)O(\log^2n) time. We also show an application of this algorithm in computing the largest empty axis-parallel rectangle. Our proposed algorithm needs O(nlog2n+m)O(n\log^2n +m) time and O(logn)O(\log n) work-space apart from the array used for storing nn input points. Here mm is the number of maximal empty rectangles present in R\cal R. Finally, we consider the problem of locating the maximum area empty rectangle of arbitrary orientation among a set of nn points, and propose an O(n3logn)O(n^3\log n) time in-place algorithm for that problem.Comment: 14 pages, 5 figure
    corecore