,
Marc van Kreveld
,
Tim Ophelders
,
Bettina Speckmann
Creative Commons Attribution 4.0 International license
The Fréchet distance is a popular similarity measure that is well-understood for polygonal curves in ℝ^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 et al. (2002) were able to give a near-linear time 2-approximation algorithm. In this paper, we significantly improve upon their result: we present a (1+ε)-approximation algorithm, for any ε > 0, that runs in 𝒪(1/(ε) (n+m log n) log nm log 1/(ε)) time for a simple polygon bounded by two curves with n and m 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ünnemann (2015). Finally, we give a linear time exact algorithm if the two curves bound a convex polygon.
@InProceedings{vanderhorst_et_al:LIPIcs.ESA.2025.35,
author = {van der Horst, Thijs and van Kreveld, Marc and Ophelders, Tim and Speckmann, Bettina},
title = {{The Geodesic Fr\'{e}chet Distance Between Two Curves Bounding a Simple Polygon}},
booktitle = {33rd Annual European Symposium on Algorithms (ESA 2025)},
pages = {35:1--35:16},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-395-9},
ISSN = {1868-8969},
year = {2025},
volume = {351},
editor = {Benoit, Anne and Kaplan, Haim and Wild, Sebastian and Herman, Grzegorz},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2025.35},
URN = {urn:nbn:de:0030-drops-245038},
doi = {10.4230/LIPIcs.ESA.2025.35},
annote = {Keywords: Fr\'{e}chet distance, approximation, geodesic, simple polygon}
}