English

Data Structures for Approximate Discrete Fr\'echet Distance

Computational Geometry 2024-09-27 v3 Data Structures and Algorithms

Abstract

The Fr\'{e}chet distance is a popular distance measure between curves PP and QQ. Conditional lower bounds prohibit (1+ε)(1 + \varepsilon)-approximate Fr\'{e}chet distance computations in strongly subquadratic time, even when preprocessing PP using any polynomial amount of time and space. As a consequence, the Fr\'echet distance has been studied under realistic input assumptions, for example, assuming both curves are cc-packed. In this paper, we study cc-packed curves in Euclidean space Rd\mathbb R^d and in general geodesic metrics X\mathcal X. In Rd\mathbb R^d, we provide a nearly-linear time static algorithm for computing the (1+ε)(1+\varepsilon)-approximate continuous Fr\'echet distance between cc-packed curves. Our algorithm has a linear dependence on the dimension dd, as opposed to previous algorithms which have an exponential dependence on dd. In general geodesic metric spaces X\mathcal X, little was previously known. We provide the first data structure, and thereby the first algorithm, under this model. Given a cc-packed input curve PP with nn vertices, we preprocess it in O(nlogn)O(n \log n) time, so that given a query containing a constant ε\varepsilon and a curve QQ with mm vertices, we can return a (1+ε)(1+\varepsilon)-approximation of the discrete Fr\'echet distance between PP and QQ in time polylogarithmic in nn and linear in mm, 1/ε1/\varepsilon, and the realism parameter cc. Finally, we show several extensions to our data structure; to support dynamic extend/truncate updates on PP, to answer map matching queries, and to answer Hausdorff distance queries.

Keywords

Cite

@article{arxiv.2212.07124,
  title  = {Data Structures for Approximate Discrete Fr\'echet Distance},
  author = {Ivor van der Hoog and Eva Rotenberg and Sampson Wong},
  journal= {arXiv preprint arXiv:2212.07124},
  year   = {2024}
}

Comments

To appear in ISAAC 2024