Given a set S of n points in d-dimensional Euclidean metric space X
and a small positive real number ϵ, we present an algorithm to
preprocess S and answer queries that require finding a set S′⊆S
of ϵ-approximate nearest neighbors (ANNs) to a given query point $q
\in X.ThefollowingarethecharacteristicsofpointsbelongingtosetS’$:
- ∀s∈S′, ∃ a point p∈X such that $|pq| \le
\epsilonandthenearestneighborofpiss$, and
- ∃ a s′∈S′ such that s′ is a nearest neighbor of q.
During the preprocessing phase, from the Voronoi diagram of S we construct
a set of box trees of size O(4dδV(ϵπ)d−1)
which facilitate in querying ANNs of any input query point in $O(\frac{1}{d}lg
\frac{V}{\delta} + (\frac{\pi}{\epsilon})^{d-1})time.Here\deltaequalsto(\frac{\epsilon}{2\sqrt{d}})^d,andV$ is the volume of a large bounding box
that contains all the points of set S. The average case cardinality of S′
is shown to rely on S and ϵ.