paper

Data Structures for Approximate Discrete Fréchet Distance

arXiv:2212.07124

Abstract

The Fréchet distance is a popular distance measure between curves and . Conditional lower bounds prohibit -approximate Fréchet distance computations in strongly subquadratic time, even when preprocessing using any polynomial amount of time and space. As a consequence, the Fréchet 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échet 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échet 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.

To appear in ISAAC 2024