Aggregate nearest neighbor queries in spatial databases
Author(s) -
Dimitris Papadias,
Yufei Tao,
Kyriakos Mouratidis,
Chun Kit Hui
Publication year - 2005
Publication title -
acm transactions on database systems
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.988
H-Index - 84
eISSN - 1557-4644
pISSN - 0362-5915
DOI - 10.1145/1071610.1071616
Subject(s) - aggregate (composite) , computer science , k nearest neighbors algorithm , point (geometry) , data mining , spatial database , database , spatial query , information retrieval , spatial analysis , search engine , artificial intelligence , web search query , sargable , mathematics , statistics , materials science , geometry , composite material
Given two spatial datasets P (e.g., facilities) and Q (queries), an aggregate nearest neighbor (ANN) query retrieves the point(s) of P with the smallest aggregate distance(s) to points in Q. Assuming, for example, n users at locations q(1),... q(n), an ANN query outputs the facility p is an element of P that minimizes the sum of distances \textbackslash{}pq(i)\textbackslash{} for 1 <= i <= n that the users have to travel in order to meet there. Similarly, another ANN query may report the point p is an element of P that minimizes the maximum distance that any user has to travel, or the minimum distance from some user to his/her closest facility. If Q fits in memory and P is indexed by an R-tree, we develop algorithms for aggregate nearest neighbors that capture several versions of the problem, including weighted queries and incremental reporting of results. Then, we analyze their performance and propose cost models for query optimization. Finally, we extend our techniques for disk-resident queries and approximate ANN retrieval. The efficiency of the algorithms and the accuracy of the cost models are evaluated through extensive experiments with real and synthetic datasets
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom