arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2103.02919cs.DS
收藏

约束序列问题的一个简单算法

A Simple Algorithm for the Constrained Sequence Problems

Francis Yuk Lun Chin, Ngai Lam Ho, Alfredo De Santis, S. K. Kim

摘要:

在本文中,我们解决的约束最长公共子序列问题。给定两个序列$X$、$Y$和约束序列$P$,如果$Z$是$X$和$Y$的最长子序列,使得$P$是$Z$的子序列,则序列$Z$是$X$和$Y$相对于$P$的约束最长公共子序列。最近,Tsai \cite{Tsai}利用动态规划技术提出了一种解决该问题的$O(n^2 \cdot m^2 \cdot r)$时间算法,其中$n$、$m$和$r$分别是$X$、$Y$和$P$的长度。本文给出了一个在$O(n \cdot m \cdot r)$时间内求解约束最长公共子序列问题的简单算法,并证明了约束最长公共子序列问题等价于约束多序列比对问题的一个特例,该问题也是可解的.

英文摘要:

In this paper we address the constrained longest common subsequence problem. Given two sequences $X$, $Y$ and a constrained sequence $P$, a sequence $Z$ is a constrained longest common subsequence for $X$ and $Y$ with respect to $P$ if $Z$ is the longest subsequence of $X$ and $Y$ such that $P$ is a subsequence of $Z$. Recently, Tsai \cite{Tsai} proposed an $O(n^2 \cdot m^2 \cdot r)$ time algorithm to solve this problem using dynamic programming technique, where $n$, $m$ and $r$ are the lengths of $X$, $Y$ and $P$, respectively. In this paper, we present a simple algorithm to solve the constrained longest common subsequence problem in $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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑