Incremental Evaluation of Visible Nearest Neighbor Queries

In many applications involving spatial objects, we are only interested in objects that are directly visible from query points. In this paper, we formulate the visible k nearest neighbor (VkNN) query and present incremental algorithms as a solution, with two variants differing in how to prune objects during the search process. One variant applies visibility pruning to only objects, whereas the other variant applies visibility pruning to index nodes as well. Our experimental results show that the latter outperforms the former. We further propose the aggregate VkNN query that finds the visible k nearest objects to a set of query points based on an aggregate distance function. We also propose two approaches to processing the aggregate VkNN query. One accesses the database via multiple VkNN queries, whereas the other issues an aggregate k nearest neighbor query to retrieve objects from the database and then re-rank the results based on the aggregate visible distance metric. With extensive experiments, we show that the latter approach consistently outperforms the former one.

[1]  Hanan Samet,et al.  Foundations of multidimensional and metric data structures , 2006, Morgan Kaufmann series in data management systems.

[2]  Ken C. K. Lee,et al.  Nearest Surrounder Queries , 2006, IEEE Transactions on Knowledge and Data Engineering.

[3]  Mohammad Ghodsi,et al.  Efficient computation of query point visibility in polygons with holes , 2005, SCG.

[4]  Antonin Guttman,et al.  R-trees: a dynamic index structure for spatial searching , 1984, SIGMOD '84.

[5]  Yannis Manolopoulos,et al.  Closest pair queries in spatial databases , 2000, SIGMOD '00.

[6]  Lars Kulik,et al.  Incremental Rank Updates for Moving Query Points , 2006, GIScience.

[7]  Yufei Tao,et al.  Location-based spatial queries , 2003, SIGMOD '03.

[8]  Nick Roussopoulos,et al.  Nearest neighbor queries , 1995, SIGMOD '95.

[9]  Yufei Tao,et al.  Multi-dimensional Reverse k NN Search , 2005 .

[10]  Leonidas J. Guibas,et al.  Visibility of disjoint polygons , 2005, Algorithmica.

[11]  Yunjun Gao,et al.  Visible Reverse k-Nearest Neighbor Query Processing in Spatial Databases , 2009, IEEE Transactions on Knowledge and Data Engineering.

[12]  Bala R. Vatti A generic solution to polygon clipping , 1992, CACM.

[13]  Joseph O'Rourke,et al.  Worst-case optimal algorithms for constructing visibility polygons with holes , 1986, SCG '86.

[14]  ManolopoulosYannis,et al.  Closest pair queries in spatial databases , 2000 .

[15]  Ken C. K. Lee,et al.  Round-Eye: A system for tracking nearest surrounders in moving object environments , 2007, J. Syst. Softw..

[16]  Divyakant Agrawal,et al.  Constrained Nearest Neighbor Queries , 2001, Encyclopedia of GIS.

[17]  Yannis Manolopoulos,et al.  Closest pair queries in spatial databases , 2000, SIGMOD 2000.

[18]  David M. Mount,et al.  An output sensitive algorithm for computing visibility graphs , 1987, 28th Annual Symposium on Foundations of Computer Science (sfcs 1987).

[19]  Leonidas J. Guibas,et al.  Visibility Queries and Maintenance in Simple Polygons , 2002, Discret. Comput. Geom..

[20]  Markus Hadwiger,et al.  Real-time volume graphics , 2006, SIGGRAPH '04.

[21]  Lars Kulik,et al.  The V*-Diagram: a query-dependent approach to moving KNN queries , 2008, Proc. VLDB Endow..

[22]  Kyriakos Mouratidis,et al.  Aggregate nearest neighbor queries in spatial databases , 2005, TODS.

[23]  Rui Zhang,et al.  Visible Nearest Neighbor Queries , 2007, DASFAA.

[24]  Anthony K. H. Tung,et al.  Spatial clustering in the presence of obstacles , 2001, Proceedings 17th International Conference on Data Engineering.

[25]  Joseph S. B. Mitchell,et al.  An Optimal Algorithm for Computing Visibility in the Plane , 1995, SIAM J. Comput..

[26]  Edsger W. Dijkstra,et al.  A note on two problems in connexion with graphs , 1959, Numerische Mathematik.

[27]  Hanan Samet,et al.  Depth-first k-nearest neighbor finding using the MaxNearestDist estimator , 2003, 12th International Conference on Image Analysis and Processing, 2003.Proceedings..

[28]  Leonidas J. Guibas,et al.  Visibility-polygon search and euclidean shortest paths , 1985, 26th Annual Symposium on Foundations of Computer Science (sfcs 1985).

[29]  David M. Mount,et al.  An Output Sensitive Algorithm for Computing Visibility Graphs , 1987, FOCS.

[30]  Kyriakos Mouratidis,et al.  Spatial Queries in the Presence of Obstacles , 2004, EDBT.

[31]  Hanan Samet,et al.  Distance browsing in spatial databases , 1999, TODS.

[32]  Hans-Peter Kriegel,et al.  The R*-tree: an efficient and robust access method for points and rectangles , 1990, SIGMOD '90.

[33]  Yufei Tao,et al.  Query Processing in Spatial Network Databases , 2003, VLDB.

[34]  Yufei Tao,et al.  Multidimensional reverse kNN search , 2007, The VLDB Journal.

[35]  Jon Louis Bentley,et al.  Multidimensional binary search trees used for associative searching , 1975, CACM.