arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1409.5641cs.DS
收藏

Lempel-Ziv因子分解可能比计算所有整数更难

Lempel-Ziv Factorization May Be Harder Than Computing All Runs

Dmitry Kosolobov

摘要:

研究了在有序字母表上计算的决策树模型中计算Lempel-Ziv分解和所有游程的集合(=最大重复次数)的复杂性。已知这两个问题都可以通过RAM算法在$O(n\logσ)$时间内解决,其中$n$是输入字符串的长度,$σ$是其中不同字母的数量。我们证明了构造Lempel-Ziv因子分解所需的比较次数的$Ω(n\logσ)$下限,从而得出结论,使用Lempel-Ziv因子分解计算游程的流行技术是可行的。Ziv因子分解无法实现$o(n\logσ)$时间界限。与此相反,我们展示了一个$O(n)$决策树算法,发现所有运行在一个字符串。因此,在决策树模型中,游程问题比Lempel-Ziv分解更容易。因此,我们支持的猜想,有一个线性RAM算法找到所有运行。

英文摘要:

The complexity of computing the Lempel-Ziv factorization and the set of all runs (= maximal repetitions) is studied in the decision tree model of computation over ordered alphabet. It is known that both these problems can be solved by RAM algorithms in $O(n\logσ)$ time, where $n$ is the length of the input string and $σ$ is the number of distinct letters in it. We prove an $Ω(n\logσ)$ lower bound on the number of comparisons required to construct the Lempel-Ziv factorization and thereby conclude that a popular technique of computation of runs using the Lempel-Ziv factorization cannot achieve an $o(n\logσ)$ time bound. In contrast with this, we exhibit an $O(n)$ decision tree algorithm finding all runs in a string. Therefore, in the decision tree model the runs problem is easier than the Lempel-Ziv factorization. Thus we support the conjecture that there is a linear RAM algorithm finding all runs.

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

↑