We present space-time tradeoffs for approximate spherical range counting queries. Given a set <i>S</i> of <i>n</i> data points in R<sup>d</sup> along with a positive approximation factor ε, the goal is to preprocess the points so that, given any Euclidean ball <i>B</i>, we can return the number of points of any subset of <i>S</i> that contains all the points within a (1 - ε)-factor contraction of <i>B</i>, but contains no points that lie outside a (1 + ε)-factor expansion of <i>B.</i>In many applications of range searching it is desirable to offer a tradeoff between space and query time. We present here the first such tradeoffs for approximate range counting queries. Given 0 < ε ≤ 1/2 and a parameter γ, where 2 ≤ γ ≤ 1/ε, we show how to construct a data structure of space <i>O</i>(<i>n</i>γ<sup><i>d</i></sup> log (1/ε)) that allows us to answer ε-approximate spherical range counting queries in time <i>O</i>(log(<i>n</i>γ) + 1/(<i>εγ</i><sup><i>d</i>-1</sup>). The data structure can be built in time <i>O</i>(<i>nγ</i><sup><i>d</i></sup> log (<i>n</i>/ε)) log (1/ε)). Here <i>n</i>, ε, and γ are asymptotic quantities, and the dimension <i>d</i> is assumed to be a fixed constant.At one extreme (low space), this yields a data structure of space <i>O</i>(<i>n</i> log (1/<i>e</i>)) that can answer approximate range queries in time <i>O</i>(log<i>n</i> + 1/(<i>e</i><sup>d-1</sup>) which, up to a factor of <i>O</i>(<i>n</i> log (1/<i>e</i>) in space, matches the best known result for approximate spherical range counting queries. At the other extreme (high space), it yields a data structure of space <i>O</i>((<i>n</i>/<i>e</i><sup><i>d</i></sup>) log(1/ε)) that can answer queries in time <i>O</i>(log<i>n</i> + 1/ε). This is the fastest known query time for this problem.We also show how to adapt these data structures to the problem of computing an ε-approximation to the <i>k</i>th nearest neighbor, where <i>k</i> is any integer from 1 to <i>n</i> given at query time. The space bounds are identical to the range searching results, and the query time is larger only by a factor of <i>O</i>(1/(εγ)).Our approach is broadly based on methods developed for approximate Voronoi diagrams (AVDs), but it involves a number of significant extensions from the context of nearest neighbor searching to range searching. These include generalizing AVD node-separation properties from leaves to internal nodes of the tree and constructing efficient generator sets through a radial decomposition of space. We have also developed new arguments to analyze the time and space requirements in this more general setting.
[1]
Sunil Arya,et al.
Linear-size approximate voronoi diagrams
,
2002,
SODA '02.
[2]
S. Rao Kosaraju,et al.
A decomposition of multidimensional point sets with applications to k-nearest-neighbors and n-body potential fields
,
1995,
JACM.
[3]
Sariel Har-Peled.
A replacement for Voronoi diagrams of near linear size
,
2001,
Proceedings 2001 IEEE International Conference on Cluster Computing.
[4]
Greg N. Frederickson,et al.
A data structure for dynamically maintaining rooted trees
,
1997,
SODA '93.
[5]
Sunil Arya,et al.
On the importance of idempotence
,
2006,
STOC '06.
[6]
Sunil Arya,et al.
Approximate range searching
,
2000,
Comput. Geom..
[7]
Bernard Chazelle,et al.
How hard is halfspace range searching?
,
1992,
SCG '92.
[8]
Rajeev Motwani,et al.
Randomized Algorithms
,
1995,
SIGA.
[9]
Sunil Arya,et al.
The effect of corners on the complexity of approximate range searching
,
2006,
SCG '06.
[10]
Michiel H. M. Smid,et al.
On some geometric optimization problems in layered manufacturing
,
1997,
Comput. Geom..
[11]
János Komlós,et al.
Storing a sparse table with O(1) worst case access time
,
1982,
23rd Annual Symposium on Foundations of Computer Science (sfcs 1982).
[12]
Mark de Berg,et al.
Computational geometry: algorithms and applications
,
1997
.
[13]
B. Chazelle.
Lower bounds on the complexity of polytope range searching
,
1989
.
[14]
Sunil Arya,et al.
An optimal algorithm for approximate nearest neighbor searching fixed dimensions
,
1998,
JACM.
[15]
Sunil Arya,et al.
Space-efficient approximate Voronoi diagrams
,
2002,
STOC '02.
[16]
Stefan Funke,et al.
Smooth-surface reconstruction in near-linear time
,
2002,
SODA '02.
[17]
Otfried Cheong,et al.
On ray shooting in convex polytopes
,
1993,
Discret. Comput. Geom..
[18]
Jirí Matousek,et al.
Range searching with efficient hierarchical cuttings
,
1992,
SCG '92.
[19]
Jirí Matousek,et al.
On Approximate Geometric k -Clustering
,
2000,
Discret. Comput. Geom..
[20]
Otfried Cheong.
Ray Shooting in Convex Polytopes
,
1992,
Symposium on Computational Geometry.
[21]
Robert E. Tarjan,et al.
A data structure for dynamic trees
,
1981,
STOC '81.
[22]
Jirí Matousek.
Range searching with efficient hierarchical cuttings
,
1992,
SCG '92.