Walking the Dog Fast in Practice: Algorithm Engineering of the Fréchet Distance

01/06/2019
by   Karl Bringmann, et al.
0

The Fréchet distance provides a natural and intuitive measure for the popular task of computing the similarity of two (polygonal) curves. While a simple algorithm computes it in near-quadratic time, a strongly subquadratic algorithm cannot exist unless the Strong Exponential Time Hypothesis fails. Still, fast practical implementations of the Fréchet distance, in particular for realistic input curves, are highly desirable. This has even lead to a designated competition, the ACM SIGSPATIAL GIS Cup 2017: Here, the challenge was to implement a near-neighbor data structure under the Fréchet distance. The bottleneck of the top three implementations turned out to be precisely the decision procedure for the Fréchet distance. In this work, we present a fast, certifying implementation for deciding the Fréchet distance, in order to (1) complement its pessimistic worst-case hardness by an empirical analysis on realistic input data and to (2) improve the state of the art for the GIS Cup challenge. We experimentally evaluate our implementation on a large benchmark consisting of several data sets (including handwritten characters and GPS trajectories). Compared to the winning implementation of the GIS Cup, we obtain running time improvements of up to more than two orders of magnitude for the decision procedure and of up to a factor of 30 for queries to the near-neighbor data structure.

READ FULL TEXT

page 5

page 6

page 13

page 19

page 20

page 21

page 26

page 28

research
03/02/2018

A fast implementation of near neighbors queries for Fréchet distance (GIS Cup)

This paper describes an implementation of fast near-neighbours queries (...
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
10/28/2017

Fast Fréchet Distance Between Curves With Long Edges

Computing Fréchet distance between two curves takes roughly quadratic ti...
research
07/16/2021

Tight Bounds for Approximate Near Neighbor Searching for Time Series under the Fréchet Distance

We study the c-approximate near neighbor problem under the continuous Fr...
research
04/24/2019

Efficient Nearest-Neighbor Query and Clustering of Planar Curves

We study two fundamental problems dealing with curves in the plane, name...
research
02/25/2022

The k-outlier Fréchet distance

The Fréchet distance is a popular metric for curves; however, its bottle...
research
05/10/2021

VDB-EDT: An Efficient Euclidean Distance Transform Algorithm Based on VDB Data Structure

This paper presents a fundamental algorithm, called VDB-EDT, for Euclide...

Please sign up or login with your details

Forgot password? Click here to reset