English

Fr\'echet Distance Under Translation: Conditional Hardness and an Algorithm via Offline Dynamic Grid Reachability

Data Structures and Algorithms 2021-10-13 v4

Abstract

The discrete Fr\'echet distance is a popular measure for comparing polygonal curves. An important variant is the discrete Fr\'echet distance under translation, which enables detection of similar movement patterns in different spatial domains. For polygonal curves of length nn in the plane, the fastest known algorithm runs in time O~(n5)\tilde{\cal O}(n^{5}) [Ben Avraham, Kaplan, Sharir '15]. This is achieved by constructing an arrangement of disks of size O(n4){\cal O}(n^{4}), and then traversing its faces while updating reachability in a directed grid graph of size N:=O(n2)N := {\cal O}(n^2), which can be done in time O~(N)\tilde{\cal O}(\sqrt{N}) per update [Diks, Sankowski '07]. The contribution of this paper is two-fold. First, although it is an open problem to solve dynamic reachability in directed grid graphs faster than O~(N)\tilde{\cal O}(\sqrt{N}), we improve this part of the algorithm: We observe that an offline variant of dynamic ss-tt-reachability in directed grid graphs suffices, and we solve this variant in amortized time O~(N1/3)\tilde{\cal O}(N^{1/3}) per update, resulting in an improved running time of O~(n4.66...)\tilde{\cal O}(n^{4.66...}) for the discrete Fr\'echet distance under translation. Second, we provide evidence that constructing the arrangement of size O(n4){\cal O}(n^{4}) is necessary in the worst case, by proving a conditional lower bound of n4o(1)n^{4 - o(1)} on the running time for the discrete Fr\'echet distance under translation, assuming the Strong Exponential Time Hypothesis.

Keywords

Cite

@article{arxiv.1810.10982,
  title  = {Fr\'echet Distance Under Translation: Conditional Hardness and an Algorithm via Offline Dynamic Grid Reachability},
  author = {Karl Bringmann and Marvin Künnemann and André Nusser},
  journal= {arXiv preprint arXiv:1810.10982},
  year   = {2021}
}

Comments

Published at TALG

R2 v1 2026-06-23T04:52:48.288Z