部分字和不定串的覆盖问题
Covering Problems for Partial Words and for Indeterminate Strings
摘要:
我们考虑的问题,计算一个不确定的字符串的最短固体覆盖。不确定字符串可能包含非实心符号,每个符号指定可能出现在相应位置的字母表子集。我们还考虑覆盖部分字,这是不确定字符串的特殊情况,其中每个非实心符号都是不关心符号。我们证明了不确定字符串覆盖问题和部分字覆盖问题对于二进制字母表是NP完全的,并且证明了这两个问题对于非实心符号的数目$k$是固定参数可处理的。对于不定串覆盖问题,我们得到了一个$2^{O(k \log k)} + n k^{O(1)}$ -时间算法.对于部分词覆盖问题,我们得到了一个$2^{O(\sqrt{k}\log k)} + nk^{O(1)}$ -时间算法.我们证明,除非指数时间假设是假的,没有$2^{o(\sqrt{k})} n^{O(1)}$时间的解决方案存在的问题,这表明我们的算法在这种情况下是接近最优的。我们还提出了一个算法,这两个问题是可行的,在实践中。
英文摘要:
We consider the problem of computing a shortest solid cover of an indeterminate string. An indeterminate string may contain non-solid symbols, each of which specifies a subset of the alphabet that could be present at the corresponding position. We also consider covering partial words, which are a special case of indeterminate strings where each non-solid symbol is a don't care symbol. We prove that indeterminate string covering problem and partial word covering problem are NP-complete for binary alphabet and show that both problems are fixed-parameter tractable with respect to $k$, the number of non-solid symbols. For the indeterminate string covering problem we obtain a $2^{O(k \log k)} + n k^{O(1)}$-time algorithm. For the partial word covering problem we obtain a $2^{O(\sqrt{k}\log k)} + nk^{O(1)}$-time algorithm. We prove that, unless the Exponential Time Hypothesis is false, no $2^{o(\sqrt{k})} n^{O(1)}$-time solution exists for either problem, which shows that our algorithm for this case is close to optimal. We also present an algorithm for both problems which is feasible in practice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。