Information Processing Letters
A time-efficient, linear-space local similarity algorithm
Advances in Applied Mathematics
An improved algorithm for computing the edit distance of run-length coded strings
Information Processing Letters
Algorithms on strings, trees, and sequences: computer science and computational biology
Algorithms on strings, trees, and sequences: computer science and computational biology
Matching for run-length encoded strings
Journal of Complexity
Edit distance of run-length encoded strings
Information Processing Letters
Approximate Matching of Run-Length Compressed Strings
CPM '01 Proceedings of the 12th Annual Symposium on Combinatorial Pattern Matching
A Subquadratic Sequence Alignment Algorithm for Unrestricted Scoring Matrices
SIAM Journal on Computing
Sequence Alignment Algorithms for Run-Length-Encoded Strings
COCOON '08 Proceedings of the 14th annual international conference on Computing and Combinatorics
Hi-index | 0.00 |
The problem of computing similarity of two run-length encoded strings has been studied for various scoring metrics. Many algorithms have been developed for the longest common subsequence metric and some algorithms for the Levenshtein distance metric and the weighted edit distance metric. In this paper we consider similarity based on the affine gap penalty metric which is a more general and rather complicated scoring metric than the weighted edit distance. To compute similarity in this model efficiently, we convert the problem to a path problem on a directed acyclic graph and use some properties of maximum paths in this graph. We present an O(nm′+n′m) time algorithm for computing similarity of two run-length encoded strings in the affine gap penalty model, where n′ and m′ are the lengths of given two run-length encoded strings, and n and m are the decoded lengths of given two strings, respectively.