An efficient dynamic programming algorithm for the generalized LCS problem with multiple substring inclusive constraints
Abstract
In this paper, we consider a generalized longest common subsequence problem with multiple substring inclusive constraints. For the two input sequences and of lengths and , and a set of constraints of total length , the problem is to find a common subsequence of and including each of constraint string in as a substring and the length of is maximized. A new dynamic programming solution to this problem is presented in this paper. The correctness of the new algorithm is proved. The time complexity of our algorithm is . In the case of the number of constraint strings is fixed, our new algorithm for the generalized longest common subsequence problem with multiple substring inclusive constraints requires time and space.
Cite
@article{arxiv.1505.06529,
title = {An efficient dynamic programming algorithm for the generalized LCS problem with multiple substring inclusive constraints},
author = {Daxin Zhu and Lei Wang and Yingjie Wu and Xiaodong Wang},
journal= {arXiv preprint arXiv:1505.06529},
year = {2015}
}
Comments
arXiv admin note: substantial text overlap with arXiv:1303.1872