Polyline Simplification under the Local Fréchet Distance has Subcubic Complexity in 2D

01/04/2022
by   Sabine Storandt, et al.
0

Given a polyline on n vertices, the polyline simplification problem asks for a minimum size subsequence of these vertices defining a new polyline whose distance to the original polyline is at most a given threshold under some distance measure. In this paper, we improve the long-standing running time bound for the simplification of polylines under the local Fréchet distance. The best algorithm known so far is by Imai and Iri and has a cubic running time in n. We present an algorithm with a running time of O(n^2) under the L_1 and L_∞ norm, and O(n^2 log n) under L_p ∈ (1,∞) (including the Euclidean norm L_2). Our approach is based on the ideas of Chan and Chin, who showed that under the local Hausdorff distance, the Imai-Iri algorithm can be improved to run in quadratic time for L_1, L_2, and L_∞. However, the Hausdorff distance does not take the order of the points along the polyline into account. The Fréchet distance, which is sensitive to the course of the polylines, is hence often deemed the superior distance measure for polyline similarity but it also more intricate to compute. So far, the significantly faster simplification algorithms for the Hausdorff distance made them preferable for practical application. But our new algorithm for simplification under the Fréchet distance matches the running time bounds for the Hausdorff distance up to logarithmic factors and thus allows the usage of this more suitable distance measure.

READ FULL TEXT

page 1

page 3

page 7

page 11

page 17

page 21

research
01/04/2021

Binary Dynamic Time Warping in Linear Time

Dynamic time warping distance (DTW) is a widely used distance measure be...
research
12/02/2021

Gomory-Hu Trees in Quadratic Time

Gomory-Hu tree [Gomory and Hu, 1961] is a succinct representation of pai...
research
07/06/2023

A Near-Linear Time Algorithm for the Chamfer Distance

For any two point sets A,B ⊂ℝ^d of size up to n, the Chamfer distance fr...
research
10/01/2018

Polyline Simplification has Cubic Complexity

In the classic polyline simplification problem we want to replace a give...
research
08/15/2020

On Efficient Low Distortion Ultrametric Embedding

A classic problem in unsupervised learning and data analysis is to find ...
research
12/12/2021

Maintaining AUC and H-measure over time

Measuring the performance of a classifier is a vital task in machine lea...
research
02/25/2018

A New Algorithm for Finding Closest Pair of Vectors

Given n vectors x_0, x_1, ..., x_n-1 in {0,1}^m, how to find two vectors...

Please sign up or login with your details

Forgot password? Click here to reset