Skip to main content

Can Nearest Neighbor Searching Be Simple and Always Fast?

  • Conference paper
  • 2542 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6942))

Abstract

Nearest Neighbor Searching, i.e. determining from a set S of n sites in the plane the one that is closest to a given query point q, is a classical problem in computational geometry. Fast theoretical solutions are known, e.g. point location in the Voronoi Diagram of S, or specialized structures such as so-called Delaunay hierarchies. However, practitioners tend to deem these solutions as too complicated or computationally too costly to be actually useful.

Recently in ALENEX 2010 Birn et al. proposed a simple and practical randomized solution. They reported encouraging experimental results and presented a partial performance analysis. They argued that in many cases their method achieves logarithmic expected query time but they also noted that in some cases linear expected query time is incurred. They raised the question whether some variant of their approach can achieve logarithmic expected query time in all cases.

The approach of Birn et al. derives its simplicity mostly from the fact that it applies only one simple type of geometric predicate: which one of two sites in S is closer to the query point q. In this paper we show that any method for planar nearest neighbor searching that relies just on this one type of geometric predicate can be forced to make at least n − 1 such predicate evaluations during a worst case query.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bentley, J.L.: Multidimensional Binary Search Trees used for Associative Searching. Communications of the ACM 18(9), 509–517 (1975)

    Article  MATH  Google Scholar 

  2. Birn, M., Holtgrewe, M., Sanders, P., Singler, J.: Simple and Fast Nearest Neighbor Search. In: Proceedings of the Twelfth Workshop on Algorithm Engineering and Experiments (ALENEX). SIAM, Philadelphia (2010)

    Google Scholar 

  3. Canny, J.F., Donald, B.R., Ressler, E.K.: A Rational Rotation Method for Robust Geometric Algorithms. In: Proc. of the Eigth ACM Symposium on Computational Geometry (SOCG), pp. 251–260 (1992)

    Google Scholar 

  4. Kirkpatrick, D.G.: Optimal Search in Planar Subdivisions. SIAM J. Comput. 12(1), 28–35 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  5. Liotta, G., Preparata, F.P., Tamassia, R.: Robust Proximity Queries: An Illustration of Degree-driven Algorithm Design. SIAM J. Comput. 28(3), 864–889 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  6. Lipton, R.J., Tarjan, R.E.: Applications of a Planar Separator Theorem. SIAM J. Comput. 9(3), 615–627 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  7. Millman, D., Snoeyink, J.: Computing Planar Voronoi Diagrams in Double Precision: A Further Example of Degree-driven Algorithm Design. In: Proceedings of the Annual Symposium on Computational Geometry (SoCG), pp. 386–392 (2010)

    Google Scholar 

  8. Mount, D.M., Arya, S.: ANN: A Library for Approximate Nearest Neighbor Searching. In: CGC 2nd Annual Fall Workshop on Computational Geometry (1997)

    Google Scholar 

  9. Shamos, M. I.: Geometric Complexity. In: Proceedings of Seventh Annual ACM Symposium on Theory of Computing (STOC), pp. 224–233 (1975)

    Google Scholar 

  10. Ziegler, G.M.: Lectures on Polytopes. Springer, Heidelberg (1995)

    Book  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Alvarez, V., Kirkpatrick, D.G., Seidel, R. (2011). Can Nearest Neighbor Searching Be Simple and Always Fast?. In: Demetrescu, C., Halldórsson, M.M. (eds) Algorithms – ESA 2011. ESA 2011. Lecture Notes in Computer Science, vol 6942. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-23719-5_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-23719-5_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-23718-8

  • Online ISBN: 978-3-642-23719-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics