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

IS算法的缩减率:最差和随机情况

Reduction ratio of the IS-algorithm: worst and random cases

Vincent Jugé

摘要:

我们研究的IS算法,一个著名的线性时间算法计算的后缀数组的一个字。该算法依赖于将输入单词$w$转换为另一个单词,称为$w$的简化单词,该简化单词至少短两倍;然后,该算法递归地计算简化单词的后缀数组。在本文中,我们研究了IS-算法的缩减比,即,输入字的长度与将输入字缩小$k$倍后的字的长度之比。我们调查最坏的情况下,我们找到精确的结果,和随机的情况下,我们证明了一些强收敛现象。最后,我们证明,如果输入的字是一个随机选择的字的长度$n$,我们不应该期望更多的$\log(\log(n))$递归函数调用。

英文摘要:

We study the IS-algorithm, a well-known linear-time algorithm for computing the suffix array of a word. This algorithm relies on transforming the input word $w$ into another word, called the reduced word of $w$, that will be at least twice shorter; then, the algorithm recursively computes the suffix array of the reduced word. In this article, we study the reduction ratio of the IS-algorithm, i.e., the ratio between the lengths of the input word and the word obtained after reducing $k$ times the input word. We investigate both worst cases, in which we find precise results, and random cases, where we prove some strong convergence phenomena. Finally, we prove that, if the input word is a randomly chosen word of length $n$, we should not expect much more than $\log(\log(n))$ recursive function calls.

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

↑