skip to main content
research-article

Continuous nearest-neighbor search in the presence of obstacles

Published:02 June 2011Publication History
Skip Abstract Section

Abstract

Despite the ubiquity of physical obstacles (e.g., buildings, hills, and blindages, etc.) in the real world, most of spatial queries ignore the obstacles. In this article, we study a novel form of continuous nearest-neighbor queries in the presence of obstacles, namely continuous obstructed nearest-neighbor (CONN) search, which considers the impact of obstacles on the distance between objects. Given a data set P, an obstacle set O, and a query line segment q, in a two-dimensional space, a CONN query retrieves the nearest neighbor pP of each point p′ on q according to the obstructed distance, the shortest path between p and p without crossing any obstacle in O. We formalize CONN search, analyze its unique properties, and develop algorithms for exact CONN query-processing assuming that both P and O are indexed by conventional data-partitioning indices (e.g., R-trees). Our methods tackle CONN retrieval by performing a single query for the entire query line segment, and only process the data points and obstacles relevant to the final query result via a novel concept of control points and an efficient quadratic-based split point computation approach. Then, we extend our techniques to handle variations of CONN queries, including (1) continuous obstructed k nearest neighbor (COkNN) search which, based on obstructed distances, finds the k (≥ 1) nearest neighbors (NNs) to every point along q; and (2) trajectory obstructed k nearest-neighbor (TOkNN) search, which, according to obstructed distances, returns the k NNs for each point on an arbitrary trajectory (consisting of several consecutive line segments). Finally, we explore approximate COkNN (ACOkNN) retrieval. Extensive experiments with both real and synthetic datasets demonstrate the efficiency and effectiveness of our proposed algorithms under various experimental settings.

Skip Supplemental Material Section

Supplemental Material

References

  1. Beckmann, N., Kriegel, H.-P., Schneider, R., and Seeger, B. 1990. The R<sup>*</sup>-tree: An efficient and robust access method for points and rectangles. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 322--331. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Berg, M. De, Kreveld, M. Van, Overmars, M., and Schwarzkopf, O. 2000. Computational Geometry: Algorithms and Applications 2nd Ed. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Chen, J., Dewitt, D., Tian, F., and Wang, Y. 2000. NiagaraCQ: A scalable continuous query system for Internet databases. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 379--390. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Cheung, K. L. and Fu, A. W.-C. 1998. Enhanced nearest neighbour search on the R-tree. SIGMOD Rec. 27, 3, 16--21. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Cho, H.-J. and 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). 865--876. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Dijkstra, E. 1959. A note on two problems in connexion with graphs. Numerische Mathematik 1, 269--271.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Estivill-Castro, V. and Lee, I. 2000. Autoclust+: Automatic clustering of point-data sets in the presence of obstacles. In Proceedings of the International Workshop on Temporal, Spatial, and Spatio-Temporal Data Mining (TSDM). 133--146. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Feng, J. and Watanabe, T. 2002. A fast method for continuous nearest target objects query on road network. In Proceedings of the International Conference on Virtual Systems and Multimedia (VSMM). 182--191.Google ScholarGoogle Scholar
  9. Gao, Y. and Zheng, B. 2009. Continuous obstructed nearest neighbor queries in spatial databases. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 577--590. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Gao, Y., Zheng, B., Chen, G., Lee, W.-C., Lee, Ken C. K., and Li, Q. 2009a. Visible reverse k-nearest neighbor query processing in spatial databases. IEEE Trans. Knowl. Data Eng. 21, 9, 1314--1327. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Gao, Y., Zheng, B., Lee, W.-C., and Chen, G. 2009b. Continuous visible nearest neighbor queries. In Proceedings of the International Conference on Extending Database Technology (EDBT). 144--155. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Ghosh, S. K. and Mount, D. M. 1987. An output sensitive algorithm for computing visibility graphs. In Proceedings of the Annual Symposium on Foundations of Computer Science (FOCS). 11--19. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Guttman, A. 1984. R-trees: A dynamic index structure for spatial searching. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 47--57. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Henrich, A. 1994. A distance-scan algorithm for spatial access structures. In Proceedings of the ACM Workshop on Advances in Geographic Information Systems (GIS). 136--143.Google ScholarGoogle Scholar
  15. Hershberger, J. and Suri, S. 1999. An optimal algorithm for Euclidean shortest paths in the plane. SIAM J. Comput. 28, 6, 2215--2256. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Hjaltason, G. R. and Samet, H. 1999. Distance browsing in spatial databases. ACM Trans. Datab. Syst. 24, 2, 265--318. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Huang, Y.-K., Liao, S.-J., and Lee, C. 2009. Evaluating continuous k-nearest neighbor query on moving objects with uncertainty. Inf. Syst. 34, 4--5, 415--437. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Iwerks, G. S., Samet, H., and 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). 512--523. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Kolahdouzan, M. R. and Shahabi, C. 2005. Alternative solutions for continuous k nearest neighbor queries in spatial network databases. GeoInformatica 9, 4, 321--341. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Korn, F. and Muthukrishnan, S. 2000. Influence sets based on reverse nearest neighbor queries. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 201--212. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Li, C., Gu, Y., Li, F., and Chen, M. 2010. Moving k-nearest neighbor query over obstructed regions. In Proceedings of the Asia-Pacific Web Conference on Advances in Web Technologies and Applications (APWeb). 29--35. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Li, Y., Yang, J., and Han, J. 2004. Continuous k-nearest neighbor search for moving objects. In Proceedings of the International Conference on Scientific and Statistical Database Management (SSDBM). 123--126. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Liu, F., Hua, K. A., and Do, T. T. 2007. A P2P technique for continuous k-nearest-neighbor query in road networks. In Proceedings of the International Conference on Database and Expert Systems Applications (DEXA). 264--276. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Mouratidis, K., Hadjieleftheriou, M., and Papadias, D. 2005a. Conceptual partitioning: An efficient method for continuous nearest neighbor monitoring. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 634--645. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Mouratidis, K. and Papadias, D. 2007. Continuous nearest neighbor queries over sliding windows. IEEE Trans. Knowl. Data Eng. 19, 6, 789--803. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Mouratidis, K., Papadias, D., Bakiras, S., and Tao, Y. 2005b. A threshold-based algorithm for continuous monitoring of k nearest neighbors. IEEE Trans. Knowl. Data Eng. 17, 11, 1451--1464. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Mouratidis, K., Yiu, M., Papadias, D., and Mamoulis, N. 2006. Continuous nearest neighbor monitoring in road networks. In Proceedings of the International Conference on Very large Data Bases (VLDB). 43--54. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. Nutanong, S., Tanin, E., and Zhang, R. 2007. Visible nearest neighbor queries. In Proceedings of the International Conference on Database Systems for Advanced Applications (DASFAA). 876--883. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Nutanong, S., Zhang, R., Tanin, E., and Kulik, L. 2008. The V<sup>*</sup>-Diagram: A query dependent approach to moving kNN queries. Proc. VLDB 1, 1, 1095--1106. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Nutanong, S., Zhang, R., Tanin, E., and Kulik, L. 2010. Analysis and evaluation of V<sup>*</sup>-kNN: An efficient algorithm for moving kNN queries. VLDB J. 19, 3, 307--332. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Okabe, A., Boots, B., Sugihara, K., and Chiu, S. N. 2000. Spatial Tessellations: Concepts and Applications of Voronoi Diagrams 2nd Ed. Wiley. Google ScholarGoogle ScholarCross RefCross Ref
  32. Park, S. H., Lee, J.-H., and Kim, D.-H. 2007. Spatial clustering based on moving distance in the presence of obstacles. In Proceedings of the International Conference on Database Systems for Advanced Applications (DASFAA). 1024--1027. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Roussopoulos, N., Kelley, S., and Vincent, F. 1995. Nearest neighbor queries. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 71--79. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Sellis, T., Roussopoulos, N., and Faloutsos, C. 1987. The R<sup>+</sup>-tree: A dynamic index for multi-dimensional objects. In Proceedings of the International Conference on Very large Data Bases (VLDB). 507--518. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. Sharir, M. and Schorr, A. 1986. On shortest paths in polyhedral spaces. SIAM J. Comput. 15, 1, 193--215. Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. Sistla, P., Wolfson, O., Chamberlain, S., and Dao, S. 1997. Modeling and querying moving objects. In Proceedings of the IEEE International Conference on Data Engineering (ICDE). 422--432. Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. Song, Z. and 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). 79--96. Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. Tao, Y. and Papadias, D. 2002. Time parameterized queries in spatio-temporal databases. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 334--345. Google ScholarGoogle ScholarDigital LibraryDigital Library
  39. Tao, Y., Papadias, D., Lian, X., and Xiao, X. 2007. Multidimensional reverse kNN search. VLDB J. 16, 3, 293--316. Google ScholarGoogle ScholarDigital LibraryDigital Library
  40. Tao, Y., Papadias, D., and Shen, Q. 2002. Continuous nearest neighbor search. In Proceedings of the International Conference on Very large Data Bases (VLDB). 287--298. Google ScholarGoogle ScholarDigital LibraryDigital Library
  41. Terry, D., Goldberg, D., Nichols, D., and Oki, B. 1992. Continuous queries over append-only databases. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 321--330. Google ScholarGoogle ScholarDigital LibraryDigital Library
  42. Tung, A. K. H., Hou, J., and Han, J. 2001a. Spatial clustering in the presence of obstacles. In Proceedings of the IEEE International Conference on Data Engineering (ICDE). 359--367. Google ScholarGoogle ScholarDigital LibraryDigital Library
  43. Tung, A. K. H., Ng, R. T., Lakshmanan, L. V. S., and Han, J. 2001b. Constraint-based clustering in large databases. In Proceedings of the International Conference on Database Theory (ICDT). 405--419. Google ScholarGoogle ScholarDigital LibraryDigital Library
  44. Wang, X. and Hamilton, H. J. 2005. Clustering spatial data in the presence of obstacles. Int. J. Artif. Intell. Tools 14, 1--2, 177--198.Google ScholarGoogle ScholarCross RefCross Ref
  45. Wang, X., Rostoker, C., and Hamilton, H. J. 2004. Density-based spatial clustering in the presence of obstacles and facilitators. In Proceedings of the European Conference on Principles of Data Mining and Knowledge Discovery (PKDD). 446--458. Google ScholarGoogle ScholarDigital LibraryDigital Library
  46. Wu, W., Guo, W., and Tan, K. L. 2007. Distributed processing of moving k-nearest-neighbor query on moving objects. In Proceedings of the IEEE International Conference on Data Engineering (ICDE). 1116--1125.Google ScholarGoogle Scholar
  47. Xia, C., Hsu, D., and Tung, A. K. H. 2004. A fast filter for obstructed nearest neighbor queries. In Proceedings of the British National Conference on Databases (BNCOD). 203--215.Google ScholarGoogle Scholar
  48. Xiong, X., Mokbel, M. F., and Aref, W. G. 2005. SEA-CNN: Scalable processing of continuous k-nearest neighbor queries in spatio-temporal databases. In Proceedings of the IEEE International Conference on Data Engineering (ICDE). 643--654. Google ScholarGoogle ScholarDigital LibraryDigital Library
  49. Xu, H., Li, Z., Lu, Y., Deng, K., and Zhou, X. 2010. Group visible nearest neighbor queries in spatial databases. In Proceedings of the International Conference on Web-Age Information Management (WAIM). 333--344. Google ScholarGoogle ScholarDigital LibraryDigital Library
  50. Yu, X., Pu, K., and Koudas, N. 2005. Monitoring k-nearest neighbor queries over moving objects. In Proceedings of the IEEE International Conference on Data Engineering (ICDE). 631--642. Google ScholarGoogle ScholarDigital LibraryDigital Library
  51. Zaiane, O. R. and Lee, C.-H. 2002. Clustering spatial data in the presence of obstacles: A density-based approach. In Proceedings of the International Database Engineering and Applications Symposium (IDEAS). 214--223. Google ScholarGoogle ScholarDigital LibraryDigital Library
  52. Zhang, J., Papadias, D., Mouratidis, K., and Zhu, M. 2004. Spatial queries in the presence of obstacles. In Proceedings of the International Conference on Extending Database Technology (EDBT). 366--384.Google ScholarGoogle Scholar
  53. Zhang, J., Zhu, M., Papadias, D., Tao, Y., and Lee, D. L. 2003. Location-based spatial queries. In Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD). 443--454. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Continuous nearest-neighbor search in the presence of obstacles

          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 Transactions on Database Systems
            ACM Transactions on Database Systems  Volume 36, Issue 2
            May 2011
            257 pages
            ISSN:0362-5915
            EISSN:1557-4644
            DOI:10.1145/1966385
            Issue’s Table of Contents

            Copyright © 2011 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: 2 June 2011
            • Accepted: 1 November 2010
            • Revised: 1 September 2010
            • Received: 1 February 2010
            Published in tods Volume 36, Issue 2

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article
            • Research
            • Refereed

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader