# Four Soviets Walk the Dog: Improved Bounds for Computing the Fréchet Distance

@article{Buchin2017FourSW,
title={Four Soviets Walk the Dog: Improved Bounds for Computing the Fr{\'e}chet Distance},
author={Kevin Buchin and Maike Buchin and Wouter Meulemans and Wolfgang Mulzer},
journal={Discrete \& Computational Geometry},
year={2017},
volume={58},
pages={180-216}
}
• Published 20 September 2012
• Computer Science
• Discrete & Computational Geometry
Given two polygonal curves in the plane, there are many ways to define a notion of similarity between them. One popular measure is the Fréchet distance. Since it was proposed by Alt and Godau in 1992, many variants and extensions have been studied. Nonetheless, even more than 20 years later, the original $$O(n^2 \log n)$$O(n2logn) algorithm by Alt and Godau for computing the Fréchet distance remains the state of the art (here, n denotes the number of edges on each curve). This has led Helmut…
36 Citations

### On Computing the k-Shortcut Fréchet Distance

• Mathematics, Computer Science
ICALP
• 2022
A complexity analysis for the shortcut Fréchet distance, where one is allowed to take shortcuts along one of the curves, similar to the edit distance for sequences, and shows that efficient approximate decider algorithms are possible, even when k is large.

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

• Computer Science
ESA
• 2020
The solution combines fast, but inexact tools from continuous optimization with exact, but expensive algorithms from computational geometry to obtain an exact decision algorithm for the Frechet distance under translation.

### The k-Fréchet Distance: How to Walk Your Dog While Teleporting

• Computer Science, Mathematics
ISAAC
• 2019
A new distance measure for comparing polygonal chains: the k-Frechet distance, closely related to the well-studied Frechet distance but detects similarities between curves that resemble each other only piecewise.

### The k-Fréchet distance

• Computer Science, Mathematics
ArXiv
• 2019
It is shown that deciding this distance measure turns out to be NP-complete, which is interesting since both (weak) Fréchet and Hausdorff distance are computable in polynomial time.

### Fast fréchet distance between curves with long edges

• Computer Science, Mathematics
IWISC
• 2018
It is shown that for curves with long edges the Fréchet distance computations become easier, and three main results are proved for the case when all edges of both curves are long compared to the FrÉchet distance.

### Approximating the (continuous) Fréchet distance

• Computer Science, Mathematics
SoCG
• 2021
This work describes the first strongly subquadratic time algorithm with subexponential approximation ratio for approximately computing the Frechet distance between two polygonal chains, and describes how to turn any approximate decision procedure for theFrechet distance into an approximate optimization algorithm whose approximation ratio is the same up to arbitrarily small constant factors.

### Computing the Fréchet Distance Between Uncertain Curves in One Dimension

• Mathematics, Computer Science
• 2021
While finding the optimal placement of vertices seems more difficult than the regular Fréchet distance – and indeed it can easily prove that the problem is NP-hard in 2D – the optimal placed vertices in 1D can be computed in polynomial time.

### Approximating the (continuous) Fr\'echet distance

• Computer Science
• 2020
This work describes the first strongly subquadratic time algorithm with subexponential approximation ratio for approximately computing the Fréchet distance between two polygonal chains, and describes how to turn any approximate decision procedure for the FrÉchet distance into an approximate optimization algorithm whose approximation ratio is the same up to arbitrarily small constant factors.

### On Optimal Polyline Simplification using the Hausdorff and Fréchet Distance

• Computer Science
SoCG
• 2018
It is shown that computing an optimal simplification using the undirected Hausdorff distance is NP-hard, and how the well-known Douglas-Peucker and Imai-Iri simplification algorithms perform compared to the optimum possible is analyzed.

### On the Discrete Fréchet Distance in a Graph

• Computer Science, Mathematics
SoCG
• 2022
A conditional lower bound is provided showing that the Fréchet distance, or even its 1.01-approximation, between arbitrary paths in a weighted planar graph cannot be computed in O((|P | · |Q|)1−δ) time for any δ > 0 unless the Orthogonal Vector Hypothesis fails.

## References

SHOWING 1-10 OF 76 REFERENCES

### Why Walking the Dog Takes Time: Frechet Distance Has No Strongly Subquadratic Algorithms Unless SETH Fails

• K. Bringmann
• Computer Science, Mathematics
2014 IEEE 55th Annual Symposium on Foundations of Computer Science
• 2014
It is shown that the Fréchet distance cannot be computed in strongly subquadratic time, i.e., in time O(n2-&delta;) for any delta > 0.001-approximation, which means that finding faster algorithms is as hard as finding faster CNF-SAT algorithms, and the existence of a strongly subaquadratic algorithm can be considered unlikely.

### Jaywalking Your Dog: Computing the Fréchet Distance with Shortcuts

• Computer Science, Mathematics
SIAM J. Comput.
• 2013
The notion of a more robust Frechet distance, where one is allowed to shortcut between vertices of one of the curves, is introduced, which is a natural approach for handling noise, in particular batched outliers.

### Computing the Fréchet Distance with a Retractable Leash

• Computer Science
ESA
• 2013
This work presents a novel approach that avoids the detour through the decision version of the Fréchet distance between polygonal curves and gives the first quadratic time algorithm.

### Computing the Discrete Fréchet Distance in Subquadratic Time

• Computer Science
SIAM J. Comput.
• 2014
This work presents the first subquadratic algorithm for computing the discrete Frechet distance between two sequences of points in the plane, and uses the geometry of the problem in a subtle way to encode legal positions of the frogs as states of a finite automaton.

### Fréchet distance with speed limits

• Computer Science, Mathematics
Comput. Geom.
• 2011

### How Difficult is it to Walk the Dog ?

• Mathematics, Computer Science
• 2007
An Ω(n log n) lower bound for the decision problem in the algebraic computation tree model allowing arithmetic operations and tests is proved for two polygonal curves in the plane.

### Approximability of the discrete Fréchet distance

• Computer Science, Mathematics
J. Comput. Geom.
• 2015
A new conditional lower bound is presented showing that strongly subquadratic algorithms for the discrete Frechet distance are unlikely to exist, even in the one-dimensional case and even if the solution may be approximated up to a factor of 1.399.

### How to Walk Your Dog in the Mountains with No Magic Leash

• Computer Science, Mathematics
SoCG '12
• 2012
This work describes a algorithm for computing the homotopic Fréchet distance between two polygonal curves that lie on the boundary of a triangulated topological disk using an O(logn) approximation algorithm.

### The fréchet distance revisited and extended

• Computer Science, Mathematics
TALG
• 2014
Given two simplicial complexes in Rd and start and end vertices in each complex, we show how to compute curves (in each complex) between these vertices, such that the weak Fréchet distance between

### Exact algorithms for partial curve matching via the Fréchet distance

• Computer Science, Mathematics
SODA
• 2009
This paper presents the first exact algorithm that runs in polynomial time to compute fδ(P, Q), the partial Frechet similarity between P and Q, under the L1 and L∞ norms.