English

Shortest Paths in Geodesic Unit-Disk Graphs

Computational Geometry 2026-03-27 v1

Abstract

Let SS be a set of nn points in a polygon PP with mm vertices. The geodesic unit-disk graph G(S)G(S) induced by SS has vertex set SS and contains an edge between two vertices whenever their geodesic distance in PP is at most one. In the weighted version, each edge is assigned weight equal to the geodesic distance between its endpoints; in the unweighted version, every edge has weight 11. Given a source point sSs \in S, we study the problem of computing shortest paths from ss to all vertices of G(S)G(S). To the best of our knowledge, this problem has not been investigated previously. A naive approach constructs G(S)G(S) explicitly and then applies a standard shortest path algorithm for general graphs, but this requires quadratic time in the worst case, since G(S)G(S) may contain Ω(n2)\Omega(n^2) edges. In this paper, we give the first subquadratic-time algorithms for this problem. For the weighted case, when PP is a simple polygon, we obtain an O(m+nlog2nlog2m)O(m + n \log^{2} n \log^{2} m)-time algorithm. For the unweighted case, we provide an O(m+nlognlog2m)O(m + n \log n \log^{2} m)-time algorithm for simple polygons, and an O(n(n+m)log(n+m))O(\sqrt{n} (n+m)\log(n+m))-time algorithm for polygons with holes. To achieve these results, we develop a data structure for deletion-only geodesic unit-disk range emptiness queries, as well as a data structure for constructing implicit additively weighted geodesic Voronoi diagrams in simple polygons. In addition, we propose a dynamic data structure that extends Bentley's logarithmic method from insertions to priority-queue updates, namely insertion and delete-min operations. These results may be of independent interest.

Keywords

Cite

@article{arxiv.2603.24872,
  title  = {Shortest Paths in Geodesic Unit-Disk Graphs},
  author = {Bruce W. Brewer and Haitao Wang},
  journal= {arXiv preprint arXiv:2603.24872},
  year   = {2026}
}

Comments

A preliminary version will appear in SoCG 2026. This version further improves the result in the preliminary version by proposing a new dynamic data structure for priority-queue updates (Section 4)

R2 v1 2026-07-01T11:38:11.886Z