Back to Search
Start Over
Finding a longest common subsequence between a run-length-encoded string and an uncompressed string
- Source :
-
Journal of Complexity . Apr2008, Vol. 24 Issue 2, p173-184. 12p. - Publication Year :
- 2008
-
Abstract
- Abstract: In this paper, we propose an time algorithm for finding a longest common subsequence of strings and with lengths and , respectively, and run-length-encoded lengths and , respectively. We propose a new recursive formula for finding a longest common subsequence of and which is in the run-length-encoded format. That is, and , where is the repeated character of run and is the number of its repetitions. There are three cases in the proposed recursive formula in which two cases are for matching . The third case is for mismatching . We will look specifically at the prior two cases that matches . To determine which case will be used when matches , we have to find a specific value which can be obtained by using another of our proposed recursive formulas. [Copyright &y& Elsevier]
- Subjects :
- *ALGORITHMS
*RECURSIVE functions
*NUMBER theory
*DECIDABILITY (Mathematical logic)
Subjects
Details
- Language :
- English
- ISSN :
- 0885064X
- Volume :
- 24
- Issue :
- 2
- Database :
- Academic Search Index
- Journal :
- Journal of Complexity
- Publication Type :
- Academic Journal
- Accession number :
- 31396738
- Full Text :
- https://doi.org/10.1016/j.jco.2007.06.003