Data Structures for Approximate Discrete Fr\'echet Distance
Abstract
The Fr\'{e}chet distance is a popular distance measure between curves and . Conditional lower bounds prohibit -approximate Fr\'{e}chet distance computations in strongly subquadratic time, even when preprocessing 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 -packed. In this paper, we study -packed curves in Euclidean space and in general geodesic metrics . In , we provide a nearly-linear time static algorithm for computing the -approximate continuous Fr\'echet distance between -packed curves. Our algorithm has a linear dependence on the dimension , as opposed to previous algorithms which have an exponential dependence on . In general geodesic metric spaces , little was previously known. We provide the first data structure, and thereby the first algorithm, under this model. Given a -packed input curve with vertices, we preprocess it in time, so that given a query containing a constant and a curve with vertices, we can return a -approximation of the discrete Fr\'echet distance between and in time polylogarithmic in and linear in , , and the realism parameter . Finally, we show several extensions to our data structure; to support dynamic extend/truncate updates on , to answer map matching queries, and to answer Hausdorff distance queries.
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