An Efficient Dynamic Programming Algorithm for the Generalized LCS Problem with Multiple Substring Exclusion Constrains
Data Structures and Algorithms
2013-03-11 v1
Abstract
In this paper, we consider a generalized longest common subsequence problem with multiple substring exclusion constrains. For the two input sequences and of lengths and , and a set of constrains of total length , the problem is to find a common subsequence of and excluding each of constrain string in as a substring and the length of is maximized. The problem was declared to be NP-hard\cite{1}, but we finally found that this is not true. A new dynamic programming solution for this problem is presented in this paper. The correctness of the new algorithm is proved. The time complexity of our algorithm is .
Cite
@article{arxiv.1303.1872,
title = {An Efficient Dynamic Programming Algorithm for the Generalized LCS Problem with Multiple Substring Exclusion Constrains},
author = {Lei Wang and Xiaodong Wang and Yingjie Wu and Daxin Zhu},
journal= {arXiv preprint arXiv:1303.1872},
year = {2013}
}
Comments
arXiv admin note: substantial text overlap with arXiv:1301.7183