Fréchet Distance Under Translation: Conditional Hardness and an Algorithm via Offline Dynamic Grid Reachability

10/25/2018
by   Karl Bringmann, et al.
0

The discrete Fréchet distance is a popular measure for comparing polygonal curves. An important variant is the discrete Fréchet distance under translation, which enables detection of similar movement patterns in different spatial domains. For polygonal curves of length n in the plane, the fastest known algorithm runs in time Õ(n^5) [Ben Avraham, Kaplan, Sharir '15]. This is achieved by constructing an arrangement of disks of size O(n^4), and then traversing its faces while updating reachability in a directed grid graph of size N := O(n^2), which can be done in time Õ(√(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 Õ(√(N)), we improve this part of the algorithm: We observe that an offline variant of dynamic s-t-reachability in directed grid graphs suffices, and we solve this variant in amortized time Õ(N^1/3) per update, resulting in an improved running time of Õ(n^4.66...) for the discrete Fréchet distance under translation. Second, we provide evidence that constructing the arrangement of size O(n^4) is necessary in the worst case, by proving a conditional lower bound of n^4 - o(1) on the running time for the discrete Fréchet distance under translation, assuming the Strong Exponential Time Hypothesis.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset