An efficient dynamic programming algorithm for the generalized LCS problem with multiple substring inclusive constraints
Daxin Zhu, Lei Wang, Yingjie Wu, and Xiaodong Wang

TL;DR
This paper introduces a new dynamic programming algorithm for the generalized longest common subsequence problem with multiple substring constraints, achieving improved efficiency especially when the number of constraints is fixed.
Contribution
The paper presents a novel dynamic programming approach with proven correctness and optimized time complexity for the generalized LCS problem with multiple substring constraints.
Findings
Algorithm has a time complexity of O(d2^dnmr)
Optimized to O(nmr) when constraints are fixed
Proved correctness of the new algorithm
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsElectric Power System Optimization · Vibration and Dynamic Analysis · Energy Load and Power Forecasting
