Polyline Simplification has Cubic Complexity

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

In the classic polyline simplification problem we want to replace a given polygonal curve P, consisting of n vertices, by a subsequence P' of k vertices from P such that the polygonal curves P and P' are as close as possible. Closeness is usually measured using the Hausdorff or Fréchet distance. These distance measures can be applied "globally", i.e., to the whole curves P and P', or "locally", i.e., to each simplified subcurve and the line segment that it was replaced with separately (and then taking the maximum). This gives rise to four problem variants: Global-Hausdorff (known to be NP-hard), Local-Hausdorff (in time O(n^3)), Global-Fréchet (in time O(k n^5)), and Local-Fréchet (in time O(n^3)). Our contribution is as follows. - Cubic time for all variants: For Global-Fréchet we design an algorithm running in time O(n^3). This shows that all three problems (Local-Hausdorff, Local-Fréchet, and Global-Fréchet) can be solved in cubic time. All these algorithms work over a general metric space such as (R^d,L_p), but the hidden constant depends on p and (linearly) on d. - Cubic conditional lower bound: We provide evidence that in high dimensions cubic time is essentially optimal for all three problems (Local-Hausdorff, Local-Fréchet, and Global-Fréchet). Specifically, improving the cubic time to O(n^3-ϵpoly(d)) for polyline simplification over (R^d,L_p) for p = 1 would violate plausible conjectures. We obtain similar results for all p ∈ [1,∞), p 2. In total, in high dimensions and over general L_p-norms we resolve the complexity of polyline simplification with respect to Local-Hausdorff, Local-Fréchet, and Global-Fréchet, by providing new algorithms and conditional lower bounds.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/04/2022

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

Given a polyline on n vertices, the polyline simplification problem asks...
research
01/19/2021

On the curvature extrema of special cubic Bézier curves

It is proved that special cubic Bézier curves, generated from quadratic ...
research
12/08/2018

On Vietoris-Rips complexes of planar curves

A Vietoris--Rips complex is a way to thicken a (possibly discrete) metri...
research
02/16/2022

Almost-Optimal Sublinear-Time Edit Distance in the Low Distance Regime

We revisit the task of computing the edit distance in sublinear time. In...
research
07/03/2019

Linearly implicit local and global energy-preserving methods for Hamiltonian PDEs

We present linearly implicit methods that preserve discrete approximatio...
research
12/02/2021

Gomory-Hu Trees in Quadratic Time

Gomory-Hu tree [Gomory and Hu, 1961] is a succinct representation of pai...
research
03/09/2022

On Flipping the Fréchet distance

The classical and extensively-studied Fréchet distance between two curve...

Please sign up or login with your details

Forgot password? Click here to reset