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

Please sign up or login with your details

Forgot password? Click here to reset