hide
In this paper, we prove the following problems can be solved with
O(
N log
N) space and
O(log
B N +
K /
B) query I/Os in the cache-oblivious model:
- three-sided reporting queries in 2D
- dominance range reporting queries in 3D
- halfspace range reporting in 3D
- K-nearest neighbor queries in 2D
The main contribution of our paper is a technique to solve approximate range counting problem for all the above problems
with optimal worst-case query and linear space in the cache-oblivious model. Except for orthogonal range counting in the plane, no such structures were known in the cache-oblivious model before. Furtherore, our approach is powerful enough to provide the first approximate halfspace range counting data structure with a worst-case query time of
O(log (
N / K)) in internal memory; previously, the same query bound was only known to hold in the expected case.
We also provide a
O(
N log
4 N) space cache-oblivious data structure with optimal query for 3D orthogonal range reporting.
An interesting open question is whether the space can be lowered to O(
N log log
N) for
any of the above problems.