Faster and More Robust Mesh-based Algorithms for Obstacle k-Nearest Neighbour

We are interested in the problem of finding $k$ nearest neighbours in the plane and in the presence of polygonal obstacles ($\textit{OkNN}$). Widely used algorithms for OkNN are based on incremental visibility graphs, which means they require costly and online visibility checking and have worst-case quadratic running time. Recently $\mathbf{Polyanya}$, a fast point-to-point pathfinding algorithm was proposed which avoids the disadvantages of visibility graphs by searching over an alternative data structure known as a navigation mesh. Previously, we adapted $\mathbf{Polyanya}$ to multi-target scenarios by developing two specialised heuristic functions: the $\mathbf{Interval heuristic}$ $h_v$ and the $\mathbf{Target heuristic}$ $h_t$. Though these methods outperform visibility graph algorithms by orders of magnitude in all our experiments they are not robust: $h_v$ expands many redundant nodes when the set of neighbours is small while $h_t$ performs poorly when the set of neighbours is large. In this paper, we propose new algorithms and heuristics for OkNN which perform well regardless of neighbour density.

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

[2]  Nathan R. Sturtevant,et al.  Benchmarks for Grid-Based Pathfinding , 2012, IEEE Transactions on Computational Intelligence and AI in Games.

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

[4]  David W. Aha,et al.  Learning to Win: Case-Based Plan Selection in a Real-Time Strategy Game , 2005, Künstliche Intell..

[5]  Alban Grastien,et al.  Optimal Any-Angle Pathfinding In Practice , 2016, J. Artif. Intell. Res..

[6]  Ronald C. Arkin,et al.  Navigational path planning for a vision-based mobile robot , 1989, Robotica.

[7]  Mark de Berg,et al.  Computational geometry: algorithms and applications, 3rd Edition , 1997 .

[8]  Beng Chin Ooi,et al.  Spatial kd-Tree: A Data Structure for Geographic Database , 1987, BTW.

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

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

[11]  Mark de Berg,et al.  Computational geometry: algorithms and applications , 1997 .

[12]  L. Paul Chew,et al.  Constrained Delaunay triangulations , 1987, SCG '87.

[13]  Christos Faloutsos,et al.  The R+-Tree: A Dynamic Index for Multi-Dimensional Objects , 1987, VLDB.

[14]  Yunjun Gao,et al.  Reverse k-nearest neighbor search in the presence of obstacles , 2016, Inf. Sci..

[15]  Ada Wai-Chee Fu,et al.  Enhanced nearest neighbour search on the R-tree , 1998, SGMD.

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

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

[18]  Gang Chen,et al.  On efficient obstructed reverse nearest neighbor query processing , 2011, GIS.

[19]  David Taniar,et al.  k-Nearest Neighbors on Road Networks: A Journey in Experimentation and In-Memory Implementation , 2016, Proc. VLDB Endow..

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

[21]  Michael Buro,et al.  Efficient Triangulation-Based Pathfinding , 2006, AAAI.

[22]  Yunjun Gao,et al.  Continuous obstructed nearest neighbor queries in spatial databases , 2009, SIGMOD Conference.

[23]  Alban Grastien,et al.  Compromise-free Pathfinding on a Navigation Mesh , 2017, IJCAI.

[24]  Christos Faloutsos,et al.  Hilbert R-tree: An Improved R-tree using Fractals , 1994, VLDB.

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

[26]  David Taniar,et al.  Fast k-Nearest Neighbor on a Navigation Mesh , 2021, SOCS.

[27]  Anthony K. H. Tung,et al.  A Fast Filter for Obstructed Nearest Neighbor Queries , 2004, BNCOD.