English

The Geodesic Fr\'echet Distance Between Two Curves Bounding a Simple Polygon

Computational Geometry 2025-05-09 v2

Abstract

The Fr\'echet distance is a popular similarity measure that is well-understood for polygonal curves in Rd\mathbb{R}^d: near-quadratic time algorithms exist, and conditional lower bounds suggest that these results cannot be improved significantly, even in one dimension and when approximating with a factor less than three. We consider the special case where the curves bound a simple polygon and distances are measured via geodesics inside this simple polygon. Here the conditional lower bounds do not apply; Efrat etet al.al. (2002) were able to give a near-linear time 22-approximation algorithm. In this paper, we significantly improve upon their result: we present a (1+ε)(1+\varepsilon)-approximation algorithm, for any ε>0\varepsilon > 0, that runs in O(1ε(n+mlogn)lognmlog1ε)\mathcal{O}(\frac{1}{\varepsilon} (n+m \log n) \log nm \log \frac{1}{\varepsilon}) time for a simple polygon bounded by two curves with nn and mm vertices, respectively. To do so, we show how to compute the reachability of specific groups of points in the free space at once, by interpreting the free space as one between separated one-dimensional curves. We solve this one-dimensional problem in near-linear time, generalizing a result by Bringmann and K\"unnemann (2015). Finally, we give a linear time exact algorithm if the two curves bound a convex polygon.

Keywords

Cite

@article{arxiv.2501.03834,
  title  = {The Geodesic Fr\'echet Distance Between Two Curves Bounding a Simple Polygon},
  author = {Thijs van der Horst and Marc van Kreveld and Tim Ophelders and Bettina Speckmann},
  journal= {arXiv preprint arXiv:2501.03834},
  year   = {2025}
}

Comments

26 pages, 10 figures

R2 v1 2026-06-28T20:58:48.978Z