Near-Optimal Dynamic Time Warping on Run-Length Encoded Strings

02/13/2023
by   Itai Boneh, et al.
0

We give an Õ(n^2) time algorithm for computing the exact Dynamic Time Warping distance between two strings whose run-length encoding is of size at most n. This matches (up to log factors) the known (conditional) lower bound, and should be compared with the previous fastest O(n^3) time exact algorithm and the Õ(n^2) time approximation algorithm.

READ FULL TEXT
research
07/02/2022

Approximating Dynamic Time Warping Distance Between Run-Length Encoded Strings

Dynamic Time Warping (DTW) is a widely used similarity measure for compa...
research
04/22/2019

Dynamic Time Warping in Strongly Subquadratic Time: Algorithms for the Low-Distance Regime and Approximate Evaluation

Dynamic time warping distance (DTW) is a widely used distance measure be...
research
03/08/2019

The One-Way Communication Complexity of Dynamic Time Warping Distance

We resolve the randomized one-way communication complexity of Dynamic Ti...
research
05/02/2023

Coverability in VASS Revisited: Improving Rackoff's Bound to Obtain Conditional Optimality

Seminal results establish that the coverability problem for Vector Addit...
research
04/28/2020

Approximating longest common substring with k mismatches: Theory and practice

In the problem of the longest common substring with k mismatches we are ...
research
08/31/2022

Pattern matching under DTW distance

In this work, we consider the problem of pattern matching under the dyna...
research
07/20/2023

Computing a Subtrajectory Cluster from c-packed Trajectories

We present a near-linear time approximation algorithm for the subtraject...

Please sign up or login with your details

Forgot password? Click here to reset