Abstract
This paper addresses the problem of continuous aggregate nearest-neighbor (CANN) queries for moving objects in spatio-temporal data stream management systems. A CANN query specifies a set of landmarks, an integer k, and an aggregate distance function f (e.g., min, max, or sum), where f computes the aggregate distance between a moving object and each of the landmarks. The answer to this continuous query is the set of k moving objects that have the smallest aggregate distance f. A CANN query may also be viewed as a combined set of nearest neighbor queries. We introduce several algorithms to continuously and incrementally answer CANN queries. Extensive experimentation shows that the proposed operators outperform the state-of-the-art algorithms by up to a factor of 3 and incur low memory overhead.
Similar content being viewed by others
Notes
The authors of conceptual partitioning kindly provided us with their code of CPM.
References
Open Optimization Library. http://ool.sourceforge.net/
LOPTI - Mathematical Optimization Library. http://volnitsky.com/project/lopti/
SCILAB-NEWUOA Interface. http://www.inrialpes.fr/bipop/people/guilbert/newuoa/newuoa.html
Matlab-Condor. http://www.applied-mathematics.net/optimization/CONDORdownload.html
Extreme Optimization Numerical Libraries for .NET. http://www.extremeoptimization.com/
Bentley JL, Yao AC-C (1976) An almost optimal algorithm for unbounded searching. Inf Process Lett:5(3):82–87
Brinkhoff T (2002) A framework for generating network based moving objects. Geoinformatica 6(2):153–180
Cai Y, Hua KA, Cao G (2004) Processing range-monitoring queries on heterogeneous mobile objects. In: Proceedings of the international conference on mobile data management, MDM
Cho H-J, Chung C-W (2005) An efficient and scalable approach to CNN queries in a road network. In: Proceedings of the international conference on very large data bases, VLDB, pp 865–876, Trondheim, Norway
Düntgen C, Behr T, Güting RH (2009) BerlinMOD: a benchmark for moving object databases. VLDB J (The International Journal on Very Large Data Bases) 18(6):1335–1368
Elmongui HG, Mokbel MF, Aref WG (2005) Spatio-temporal histograms. In: Proceedings of the international symposium on advances in spatial and temporal databases, SSTD
Gedik B, Liu L (2004) MobiEyes: distributed processing of continuously moving queries on moving objects in a mobile system. In: Proceedings of the international conference on extending database technology, EDBT
Hadjieleftheriou M, Kollios G, Gunopulos D, Tsotras VJ (2003) On-line discovery of dense areas in spatio-temporal databases. In: Proceedings of the international symposium on advances in spatial and temporal databases, SSTD, pp 306–324, Santorini Island, Greece
Hu H, Xu J, Lee DL (2005) A generic framework for monitoring continuous spatial queries over moving objects. In: Proceedings of the ACM international conference on management of data, SIGMOD
Huang Z, Lu H, Ooi BC, Tung AK (2006) Continuous skyline queries for moving objects. IEEE Trans Knowl Data Eng (TKDE) 18(12):1645–1658
Iwerks GS, Samet H, Smith K (2003) Continuous K-nearest neighbor queries for continuously moving points with updates. In: Proceedings of the international conference on very large data bases, VLDB, pp 512–523, Berlin, Germany
Jensen CS, Lin D, Ooi BC (2004) Query and update efficient B + -tree based indexing of moving objects. In: Proceedings of the international conference on very large data bases, VLDB
Jensen CS, Lin D, Ooi BC, Zhang R (2006) Effective density queries on continuously moving objects. In: Proceedings of the international conference on data engineering, ICDE, Atlanta, GA
Kang J, Mokbel MF, Shekhar S, Xia T, Zhang D (2007) Continuous evaluation of monochromatic and bichromatic reverse nearest neighbors. In: Proceedings of the international conference on data engineering, ICDE, pp 806–815, Istanbul, Turkey
Lazaridis I, Porkaew K, Mehrotra S (2002) Dynamic queries over mobile objects. In: Proceedings of the international conference on extending database technology, EDBT
Li H, Lu H, Huang B, Huang Z (2005) Two ellipse-based pruning methods for group nearest neighbor queries. In: Proceedings of the ACM symposium on advances in geographic information systems, ACM GIS.
Mokbel MF, Aref WG (2005) GPAC: generic and progressive processing of mobile queries over mobile data. In: Proceedings of the international conference on mobile data management, MDM
Mokbel MF, Aref WG (2005) PLACE: a scalable location-aware database server for spatiotemporal data streams. Data Eng Bull 28(3):3–10
Mokbel MF, Aref WG (2008) SOLE: scalable online execution of continuous queries on spatio-temporal data streams. VLDB J (The International Journal on Very Large Data Bases) 17(5):971–995
Mokbel MF, Xiong X, Aref WG (2004) SINA: scalable incremental processing of continuous queries in spatio-temporal databases. In Proceedings of the ACM international conference on management of data, SIGMOD
Mouratidis K, Papadias D, Hadjieleftheriou M (2005) Conceptual partitioning: an efficient method for continuous nearest neighbor monitoring. In: Proceedings of the ACM international conference on management of data, SIGMOD
Mouratidis K, Yiu ML, Papadias D, Mamoulis N (2006) Continuous nearest neighbor monitoring in road networks. In: Proceedings of the international conference on very large data bases, VLDB, pp 43–54, Seoul, Korea
Papadias D, Shen Q, Tao Y, Mouratidis K (2004) Group nearest neighbor queries. In: Proceedings of the international conference on data engineering, ICDE
Papadias D, Tao Y, Mouratidis K, Hui CK (2005) Aggregate nearest neighbor queries in spatial databases. ACM Trans Database Syst (TODS) 30(2):529–576
Song Z, Roussopoulos N (2001) K-nearest neighbor search for moving query point. In: Proceedings of the international symposium on advances in spatial and temporal databases, SSTD
Tao Y, Papadias D (2003) Spatial queries in dynamic environments. ACM Trans Database Syst (TODS) 28(2):101–139
Tao Y, Papadias D, Shen Q (2002) Continuous nearest neighbor search. In: Proceedings of the international conference on very large data bases, VLDB
U LH, Mamoulis N, Yiu ML (2007) Continuous monitoring of exclusive closest pairs. In: Proceedings of the international symposium on advances in spatial and temporal databases, SSTD, Boston, MA
Xia T, Zhang D (2006) Continuous reverse nearest neighbor monitoring. In: Proceedings of the international conference on data engineering, ICDE, Atlanta, GA
Xiong X, Mokbel MF, Aref WG (2005) SEA-CNN: scalable processing of continuous K-nearest neighbor queries in spatio-temporal databases. In: Proceedings of the international conference on data engineering, ICDE
Yiu ML, Mamoulis N, Papadias D (2005) Aggregate nearest neighbor queries in road networks. IEEE Trans Knowl Data Eng (TKDE) 17(6):820–833
Yu X, Pu KQ, Koudas N (2005) Monitoring K-nearest neighbor queries over moving objects. In: Proceedings of the international conference on data engineering, ICDE
Author information
Authors and Affiliations
Corresponding author
Additional information
This work is supported in part by the National Science Foundation under Grant Numbers IIS-0811954, III-1117766, IIS-0964639, IIS-0811935, CNS-0708604, IIS-0952977 (NSF CAREER) and by a Microsoft Research Gift.
Rights and permissions
About this article
Cite this article
Elmongui, H.G., Mokbel, M.F. & Aref, W.G. Continuous aggregate nearest neighbor queries. Geoinformatica 17, 63–95 (2013). https://doi.org/10.1007/s10707-011-0149-0
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10707-011-0149-0