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
research
03/19/2018

Õ(n^1/3)-Space Algorithm for the Grid Graph Reachability Problem

The directed graph reachability problem takes as input an n-vertex direc...
research
01/11/2019

Decremental Strongly-Connected Components and Single-Source Reachability in Near-Linear Time

Computing the Strongly-Connected Components (SCCs) in a graph G=(V,E) is...
research
02/23/2022

On Computing the k-Shortcut Fréchet Distance

The Fréchet distance is a popular measure of dissimilarity for polygonal...
research
06/05/2023

Fully-Dynamic All-Pairs Shortest Paths: Likely Optimal Worst-Case Update Time

The All-Pairs Shortest Paths (APSP) problem is one of the fundamental pr...
research
06/04/2018

Adaptive Computation of the Discrete Fréchet Distance

The discrete Fréchet distance is a measure of similarity between point s...
research
08/17/2020

When Lipschitz Walks Your Dog: Algorithm Engineering of the Discrete Fréchet Distance under Translation

Consider the natural question of how to measure the similarity of curves...
research
12/07/2012

Similarity of Polygonal Curves in the Presence of Outliers

The Fréchet distance is a well studied and commonly used measure to capt...

Please sign up or login with your details

Forgot password? Click here to reset