Skip to main content

Variations of Nearest Neighbor Queries in Euclidean Space

  • Reference work entry
  • First Online:
Encyclopedia of GIS
  • 79 Accesses

Synonyms

Aggregate nearest neighbor queries; Constrained nearest neighbor queries; Reverse nearest neighbor queries

Definition

There are several variations of nearest neighbor (NN) queries. Some of the variations are based on constraining the search space, some change the distance function, and some of them reverse the objective by searching for the objects having a given object as their NN. In this entry, we present in detail a specific query from each category.

Constrained nearest neighbor query. Given a set P of points in a d-dimensional space \(\mathbb{R}^{d}\), a query point q, and a subset R of \(\mathbb{R}^{d}\), called the constrained region, the constrained nearest neighbor query finds the nearest point in P, which belongs to region R. Formally, \(CNN(q)\ =\ \{p\vert p \in P \cap R,\forall p' \in P \cap \ R,dist(q,p) \leq dist(q,p')\}\), where dist() is the Euclidean distance function.

Reverse nearest neighbor query. Given a set P of points in a d-dimensional space \(\mathbb{R}^{d}\)...

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 1,599.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 1,999.99
Price excludes VAT (USA)
  • Durable hardcover 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

Institutional subscriptions

References

  • Fagin R, Lotem A, Naor M (2001) Optimal aggregation algorithms for middleware. In: Proceedings of the twentieth ACM SIGACT-SIGMOD-SIGART symposium on principles of database systems, Santa Barbara, 21–23 May 2001

    Google Scholar 

  • Ferhatosmanoglu H, Stanoi I, Agrawal D, El Abbadi A (2001) Constrained nearest neighbor queries. In: Proceedings of the 7th international symposium advances in spatial and temporal databases (SSTD), Redondo Beach, 12–15 July 2001, pp 257–278

    Google Scholar 

  • Guo X, Zheng B, Ishikawa Y, Gao Y (2011) Direction-based surrounder queries for mobile recommendations. VLDB J 20(5):743–766

    Article  Google Scholar 

  • Guttman A (1984) R-trees: a dynamic index structure for spatial searching. In: SIGMOD’84, proceedings of annual meeting, Boston, 18–21 June 1984, pp 47–57

    Google Scholar 

  • Hjaltason GR, Samet H (1999) Distance browsing in spatial databases. ACM Trans Database Syst 24(2):265–318

    Article  Google Scholar 

  • Korn F, Muthukrishnan S (2000) Influence sets based on reverse nearest neighbor queries. In: Proceedings of the 2000 ACM SIGMOD international conference on management of data, Dallas, 16–18 May 2000, pp 201–212

    Google Scholar 

  • Ng RT, Han J (1994) Efficient and effective clustering methods for spatial data mining. In: VLDB’94, proceedings of 20th international conference on very large data bases, Santiago de Chile, 12–15 Sept 1994, pp 144–155

    Google Scholar 

  • Nutanong S, Tanin E, Zhang R (2010) Incremental evaluation of visible nearest neighbor queries. IEEE Trans Knowl Data Eng 22(5):665–681

    Article  Google Scholar 

  • Papadias D, Zhang J, Mamoulis N, Tao Y (2003) Query processing in spatial network databases. In: VLDB’03, proceedings of 29th International Conference on Very Large Data Bases, September 9–12, 2003, Berlin, Germany, pp. 802–813.

    Google Scholar 

  • Papadias D, Shen Q, Tao Y, Mouratidis K (2004) Group nearest neighbor queries. In: Proceedings of the 20th international conference on data engineering (ICDE), Boston, 30 Mar–2 Apr 2004, pp 301–312

    Google Scholar 

  • Papadias D, Tao Y, Mouratidis K, Hui CK (2005) Aggregate nearest neighbor queries in spatial databases. ACM Trans Database Syst 30(2):529–576

    Article  Google Scholar 

  • Roussopoulos N, Kelley S, Vincent F (1995) Nearest neighbor queries. In: Proceedings of the 1995 ACM SIGMOD international conference on management of data, San Jose, 22–25 May 1995

    Google Scholar 

  • Stanoi I, Agrawal D, El Abbadi A (2000) Reverse nearest neighbor queries for dynamic databases. In: ACM SIGMOD workshop on research issues in data mining and knowledge discovery, Dallas, pp 44–53

    Google Scholar 

  • Stanoi I, Riedewald M, Agrawal D, El Abbadi A (2001) Discovery of influence sets in frequently updated databases. In: Proceedings of 27th international conference on very large data bases (VLDB), Roma, 11–14 Sept 2001, pp 99–108

    Google Scholar 

  • Tao Y, Papadias D, Lian X (2004) Reverse knn search in arbitrary dimensionality. In: (e)Proceedings of the thirtieth international conference on very large data bases, Toronto, 31 Aug–3 Sept 2004, pp 744–755

    Google Scholar 

  • Zhang J, Papadias D, Mouratidis K, Zhu M (2004) Spatial queries in the presence of obstacles. In: Proceedings of 9th international conference on extending database technology on advances in database technology (EDBT), Heraklion, 14–18 Mar 2004

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nikos Mamoulis .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this entry

Cite this entry

Mamoulis, N. (2017). Variations of Nearest Neighbor Queries in Euclidean Space. In: Shekhar, S., Xiong, H., Zhou, X. (eds) Encyclopedia of GIS. Springer, Cham. https://doi.org/10.1007/978-3-319-17885-1_1557

Download citation

Publish with us

Policies and ethics