Abstract

In this paper we address the constrained longest common subsequence problem. Given two sequences XX, YY and a constrained sequence PP, a sequence ZZ is a constrained longest common subsequence for XX and YY with respect to PP if ZZ is the longest subsequence of XX and YY such that PP is a subsequence of ZZ. Recently, Tsai \cite{Tsai} proposed an O(n2⋅m2⋅r)O(n^2 \cdot m^2 \cdot r) time algorithm to solve this problem using dynamic programming technique, where nn, mm and rr are the lengths of XX, YY and PP, respectively. In this paper, we present a simple algorithm to solve the constrained longest common subsequence problem in O(n⋅m⋅r)O(n \cdot m \cdot r) time and show that the constrained longest common subsequence problem is equivalent to a special case of the constrained multiple sequence alignment problem which can also be solved.

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.