In this paper, a commonly used data compression scheme, called run-length encoding, is employed to speed up the computation of edit distance between two strings. Our algorithm is the first to achieve "fully compressed," meaning that it runs in time polynomial in the number of runs of both strings. Specifically, given two strings, compressed into m and n runs, m ≤ n, we present an O(mn2)-time algorithm for computing the edit distance of the two strings. Our approach also gives the first fully compressed algorithm for approximate matching of a pattern of m runs in a text of n runs in O(mn 2) time. © 2010 Springer-Verlag.
CITATION STYLE
Chen, K. Y., & Chao, K. M. (2010). A fully compressed algorithm for computing the edit distance of run-length encoded strings. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6346 LNCS, pp. 415–426). https://doi.org/10.1007/978-3-642-15775-2_36
Mendeley helps you to discover research relevant for your work.