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}\)...
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
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
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
Guo X, Zheng B, Ishikawa Y, Gao Y (2011) Direction-based surrounder queries for mobile recommendations. VLDB J 20(5):743–766
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
Hjaltason GR, Samet H (1999) Distance browsing in spatial databases. ACM Trans Database Syst 24(2):265–318
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
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
Nutanong S, Tanin E, Zhang R (2010) Incremental evaluation of visible nearest neighbor queries. IEEE Trans Knowl Data Eng 22(5):665–681
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.
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
Papadias D, Tao Y, Mouratidis K, Hui CK (2005) Aggregate nearest neighbor queries in spatial databases. ACM Trans Database Syst 30(2):529–576
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
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
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
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
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
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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
DOI: https://doi.org/10.1007/978-3-319-17885-1_1557
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-17884-4
Online ISBN: 978-3-319-17885-1
eBook Packages: Computer ScienceReference Module Computer Science and Engineering