TY - GEN
T1 - Approximating constrained LCS
AU - Gotthilf, Zvi
AU - Lewenstein, Moshe
PY - 2007
Y1 - 2007
N2 - The problem of finding the longest common subsequence (LCS) of two given strings A and B is a well-studied problem. The Constrained longest common subsequence (C-LCS) for three strings A, B and C is the longest common subsequence of A and B that contains C as a subsequence. The fastest algorithm solving the C-LCS problem has a time complexity of O(mnk) where m, n and k are the lengths of A, B and C respectively. We propose to consider the approximate version of the LCS and the Constrained LCS. For LCS we propose a simple linear time approximation algorithm that yields an approximation ratio of 1/|Σ|. For C-LCS we obtain the first two approximation algorithms. Our first algorithm has an approximation factor of 1/√min(m,n) with an O(mn) running time, while the second algorithm yields a 1/√(m,n)|Σ| approximation factor within a running time of O(m + n).
AB - The problem of finding the longest common subsequence (LCS) of two given strings A and B is a well-studied problem. The Constrained longest common subsequence (C-LCS) for three strings A, B and C is the longest common subsequence of A and B that contains C as a subsequence. The fastest algorithm solving the C-LCS problem has a time complexity of O(mnk) where m, n and k are the lengths of A, B and C respectively. We propose to consider the approximate version of the LCS and the Constrained LCS. For LCS we propose a simple linear time approximation algorithm that yields an approximation ratio of 1/|Σ|. For C-LCS we obtain the first two approximation algorithms. Our first algorithm has an approximation factor of 1/√min(m,n) with an O(mn) running time, while the second algorithm yields a 1/√(m,n)|Σ| approximation factor within a running time of O(m + n).
UR - http://www.scopus.com/inward/record.url?scp=38049011542&partnerID=8YFLogxK
U2 - 10.1007/978-3-540-75530-2_15
DO - 10.1007/978-3-540-75530-2_15
M3 - ???researchoutput.researchoutputtypes.contributiontobookanthology.conference???
AN - SCOPUS:38049011542
SN - 9783540755296
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 164
EP - 172
BT - String Processing and Information Retrieval - 14th International Symposium, SPIRE 2007, Proceedings
PB - Springer Verlag
T2 - 14th International Symposium on String Processing and Information Retrieval, SPIRE 2007
Y2 - 29 October 2007 through 31 October 2007
ER -