English

Dynamic Geodesic Nearest Neighbor Searching in a Simple Polygon

Computational Geometry 2017-07-11 v1

Abstract

We present an efficient dynamic data structure that supports geodesic nearest neighbor queries for a set of point sites SS in a static simple polygon PP. Our data structure allows us to insert a new site in SS, delete a site from SS, and ask for the site in SS closest to an arbitrary query point qPq \in P. All distances are measured using the geodesic distance, that is, the length of the shortest path that is completely contained in PP. Our data structure supports queries in O(nlognlog2m)O(\sqrt{n}\log n\log^2 m) time, where nn is the number of sites currently in SS, and mm is the number of vertices of PP, and updates in O(nlog3m)O(\sqrt{n}\log^3 m) time. The space usage is O(nlogm+m)O(n\log m + m). If only insertions are allowed, we can support queries in worst-case O(log2nlog2m)O(\log^2 n\log^2 m) time, while allowing for O(lognlog3m)O(\log n\log^3 m) amortized time insertions. We can achieve the same running times in case there are both insertions and deletions, but the order of these operations is known in advance.

Keywords

Cite

@article{arxiv.1707.02961,
  title  = {Dynamic Geodesic Nearest Neighbor Searching in a Simple Polygon},
  author = {Lars Arge and Frank Staals},
  journal= {arXiv preprint arXiv:1707.02961},
  year   = {2017}
}
R2 v1 2026-06-22T20:42:44.273Z