AN ALGORITHM FOR MATCHING RUN-LENGTH CODED STRINGS

Authors
Citation
H. Bunke et J. Csirik, AN ALGORITHM FOR MATCHING RUN-LENGTH CODED STRINGS, Computing, 50(4), 1993, pp. 297-314
Citations number
11
Categorie Soggetti
Computer Sciences","Computer Applications & Cybernetics
Journal title
ISSN journal
0010485X
Volume
50
Issue
4
Year of publication
1993
Pages
297 - 314
Database
ISI
SICI code
0010-485X(1993)50:4<297:AAFMRC>2.0.ZU;2-7
Abstract
An algorithm for the computation of the edit distance of run-length co ded strings is given. In run-length coding, not all individual symbols in a string are explicitly listed. Instead, one run of identical cons ecutive symbols is coded by giving one representative symbol together with its multiplicity. The algorithm determines the minimum cost seque nce of edit operations transforming one string into another. In the wo rst case, the algorithm has a time complexity of O(n . m), where n and m give the lengths of the strings to be compared. In the best case, t he time complexity is O(k . 1), where k and l are the numbers of runs of identical symbols in the two strings under comparison.