arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0912.0368cs.DScs.DM
收藏

约束最长公共子序列的变体

Variants of Constrained Longest Common Subsequence

Paola Bonizzoni, Gianluca Della Vedova, Riccardo Dondi, Yuri Pirola

摘要:

在这项工作中,我们考虑一个变种的经典最长公共子序列问题称为双约束最长公共子序列(DC-LCS)。给定字母表A上的两个字符串s1和s2,字符串集合Cs,以及从A到N的函数Co,DC-LCS问题在于找到s1和s2的最长子序列s,使得s是Cs中所有字符串的超序列,并且使得A中每个符号a在s中出现的次数的上界为Co(a)。DC-LCS问题为计算生物学中的序列比较问题提供了一个清晰的数学公式,并推广了LCS问题的其他两个约束变体:约束LCS和无重复LCS。我们提出了两个DC-LCS问题的结果。首先,我们说明了一个固定参数的算法,其中的参数是解决方案的长度。其次,当参数为约束串的个数和字母表A的大小时,我们证明了约束LCS问题的参数化困难性结果。这个困难性结果也暗示了DC-LCS问题的参数化困难性(具有相同的参数)和当字母表的大小是常数时的NP-困难性。

英文摘要:

In this work, we consider a variant of the classical Longest Common Subsequence problem called Doubly-Constrained Longest Common Subsequence (DC-LCS). Given two strings s1 and s2 over an alphabet A, a set C_s of strings, and a function Co from A to N, the DC-LCS problem consists in finding the longest subsequence s of s1 and s2 such that s is a supersequence of all the strings in Cs and such that the number of occurrences in s of each symbol a in A is upper bounded by Co(a). The DC-LCS problem provides a clear mathematical formulation of a sequence comparison problem in Computational Biology and generalizes two other constrained variants of the LCS problem: the Constrained LCS and the Repetition-Free LCS. We present two results for the DC-LCS problem. First, we illustrate a fixed-parameter algorithm where the parameter is the length of the solution. Secondly, we prove a parameterized hardness result for the Constrained LCS problem when the parameter is the number of the constraint strings and the size of the alphabet A. This hardness result also implies the parameterized hardness of the DC-LCS problem (with the same parameters) and its NP-hardness when the size of the alphabet is constant.

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

↑