Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4949560 | Discrete Applied Mathematics | 2017 | 8 Pages |
Abstract
The objective of the Path-Query (p,q) in the in-place setup is to preprocess the input rectangles in a data structure in the input array itself such that for any pair of query points p and q, a rectilinear path can be reported efficiently. Here we propose an algorithm with O(nlogn) preprocessing time and O(n3/4+Ï) query time, where Ï is the number of links (bends) in the path. Both the preprocessing and query answering need O(1) extra space.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Binay K. Bhattacharya, Minati De, Anil Maheshwari, Subhas C. Nandy, Sasanka Roy,