An Efficient Dynamic Programming Algorithm for STR-IC-SEQ-EC-LCS Problem

preprint2015arXivOpen access

Abstract

In this paper, we consider a generalized longest common subsequence problem, in which a constraining sequence of length ss must be included as a substring and the other constraining sequence of length tt must be excluded as a subsequence of two main sequences and the length of the result must be maximal. For the two input sequences XX and YY of lengths nn and mm, and the given two constraining sequences of length ss and tt, we present an O(nmst)O(nmst) time dynamic programming algorithm for solving the new generalized longest common subsequence problem. The time complexity can be reduced further to cubic time in a more detailed analysis. The correctness of the new algorithm is proved.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.