skip to main content
article
Free Access

Nearest neighbor queries

Authors Info & Claims
Published:22 May 1995Publication History
Skip Abstract Section

Abstract

A frequently encountered type of query in Geographic Information Systems is to find the k nearest neighbor objects to a given point in space. Processing such queries requires substantially different search algorithms than those for location or range queries. In this paper we present an efficient branch-and-bound R-tree traversal algorithm to find the nearest neighbor object to a point, and then generalize it to finding the k nearest neighbors. We also discuss metrics for an optimistic and a pessimistic search ordering strategy as well as for pruning. Finally, we present the results of several experiments obtained using the implementation of our algorithm and examine the behavior of the metrics and the scalability of the algorithm.

References

  1. Beck90 Beckmann, N., H.-P. Kriegel, R. Schneider and B. Seeger, "The R*-tree" an efficient and robust access method for points and rectangles," ACM SIGMOD, pp 322-331, May 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. BKS93 Brinkhoff, T., Kriegel, H.P., and Seeger, B., "Efficient Processing of Spatial Joins Using R- trees," Proc. ACM SIGMOD, May 1993, pp. 237- 246. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. FBF77 Friedman, J.H., Bentley, j.L., and Finkel, R.A., "An algorithm for finding the best matches in logarithmic expected time," ACM Trans. Math. Software, 3, September 1977, pp. 209-226. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Gutt84 Guttman, A., "R-trees,: A Dynamic index Structure for Spatial Searching," Proc. ACM SIG- MOD, pp. 47-57, June 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. HS78 Horowitz, E., Sahni, S., "Fundamentals of Computer Algorithms," Computer Science Press, 1978, pp. 370-421. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Jaga90 Jagadish, H.V., "Linear Clustering of Objects with Multiple Attributes," Proc. ACM SIGMOD, May 1990, pp. 332-342. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Kame94 Kamel, I. and Faloutsos, C., "Hilbert R- Tree: an Improved R-Tree Using Fractals," Proc. of VLDB, 1994, pp. 500-509. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Rous85 Roussopoulos, N. and D. Leifker, "Direct Spatial Search on Pictorial Databases Using Packed R-trees," Proc. ACM SIGMOD, May 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Same89 Samet, H., "The Design & Analysis Of Spatial Data Structures," Addison-Wesley, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Same90 Samet, H., "Applications Of Spatial Data Structures, Computer Graphics, Image Processing and GIS," Addison-Wesley, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. SRF87 Sellis T., Roussopoulos, N., and Faloutsos, C., "The R+-tree: A Dynamic Index for Multidimensional Objects," Proc. 13th international Conference on Very Large Data Bases, 1987, pp. 507-518. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Spro91 Sproull, R.F., "Refinements to Nearest- Neighbor Searching in k-Dimensional Trees," A1- gorithmica, 6, 1987, pp. 579-589.Google ScholarGoogle Scholar

Index Terms

  1. Nearest neighbor queries

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              Full Access

              • Published in

                cover image ACM SIGMOD Record
                ACM SIGMOD Record  Volume 24, Issue 2
                May 1995
                490 pages
                ISSN:0163-5808
                DOI:10.1145/568271
                Issue’s Table of Contents
                • cover image ACM Conferences
                  SIGMOD '95: Proceedings of the 1995 ACM SIGMOD international conference on Management of data
                  June 1995
                  508 pages
                  ISBN:0897917316
                  DOI:10.1145/223784

                Copyright © 1995 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 22 May 1995

                Check for updates

                Qualifiers

                • article

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader