English

Near-tight Bounds for Computing the Fr\'echet Distance in d-Dimensional Grid Graphs and the Implications for {\lambda}-low Dense Curves

Computational Geometry 2026-05-18 v1 Data Structures and Algorithms

Abstract

The Fr\'echet distance is a popular distance measure between trajectories or curves in space, or between walks in graphs. We study computing the Fr\'echet distance between walks in the dd-dimensional grid graphs, i.e. Zd\mathbb{Z}^d where points share an edge if they differ by one in one coordinate. We give an algorithm, that for two simple paths on nn vertices, (1+ε)(1+\varepsilon)-approximates the Fr\'echet distance in time O~((nε)22/d+n)\widetilde{O}((\frac{n}{\varepsilon})^{2-2/d} +n). We complement this by a near-matching fine-grained lower bound: for constant dimensions d3d \geq 3, there is no O((ε2/d(nε)22/d)1δ)O((\varepsilon^{2/d}(\frac{n}{\varepsilon})^{2-2/d})^{1-\delta}) algorithm for any δ>0\delta>0 unless the Orthogonal Vector Hypothesis fails. Thus, our results are tight up to a factor ε2/d\varepsilon^{2/d} and log(n)\log(n)-factors. We extend our results to imbalanced lower and upper bounds, where the curves have nn and mm vertices respectively, and also obtain near-tight bounds. Driemel, Har-Peled and Wenk [DCG'12] studied \emph{realistic assumptions} for curves to speed up Fr\'echet distance computation. One of these assumptions is λ\lambda-low density and they can compute a (1+ε)(1+\varepsilon)-approximation between λ\lambda-low dense curves in time O~(ε2λ2n2(11/d))\widetilde{O}( \varepsilon^{-2} \lambda^2 n^{2(1-1/d)}). By adapting our lower bound, we show that their algorithm has a tight dependency on nn and a tight dependency on ε\varepsilon as dd goes to infinity. A gap remains in terms of λ\lambda.

Keywords

Cite

@article{arxiv.2604.24135,
  title  = {Near-tight Bounds for Computing the Fr\'echet Distance in d-Dimensional Grid Graphs and the Implications for {\lambda}-low Dense Curves},
  author = {Jacobus Conradi and Ivor van der Hoog and Frederikke Uldahl and Eva Rotenberg},
  journal= {arXiv preprint arXiv:2604.24135},
  year   = {2026}
}