Covering Problems for Partial Words and for Indeterminate Strings.

Theoretical Computer Science(2017)

引用 17|浏览24
暂无评分
摘要
Indeterminate strings are a subclass of non-standard words having non-deterministic nature. In a classic string every position contains exactly one symbol—we say it is a solid symbol—while in an indeterminate string a position may contain a set of symbols (possible at this position); such sets are called non-solid symbols. The most important subclass of indeterminate strings are partial words, where each non-solid symbol is the whole alphabet; in this case non-solid symbols are also called don't care symbols. We consider the problem of finding a shortest cover of an indeterminate string, i.e., finding a shortest solid string whose occurrences cover the whole indeterminate string. We show that this classical problem becomes NP-complete for indeterminate strings and even for partial words. The proof of this fact is one of the main results of this paper. Our other main results focus on design of algorithms efficient with respect to certain parameters of the input (so called FPT algorithms) for the shortest cover problem. For the indeterminate string covering problem we obtain an O(nk2+2kk3)-time algorithm, where k is the number of non-solid symbols, while for the partial word covering problem we obtain a running time of O(nk2+2O(klog⁡k)). Additionally, we prove that, unless the Exponential Time Hypothesis is false, no 2o(k)nO(1)-time solution exists for either problem, which shows that our algorithm for partial words is close to optimal. We also present an algorithm for both problems parameterized both by k and the alphabet size with a simple implementation.
更多
查看译文
关键词
Cover of a word,Partial word,String with don't cares,Indeterminate string,Fixed-parameter tractability
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要