arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.02815cs.DScs.DMmath.CO
收藏

Cut-Down de Bruijn 序列

Cut-Down de Bruijn Sequences

Ben Cameron, Aysu Gündoğan, Joe Sawada

AI总结:

本文针对cut-down de Bruijn序列构造问题,简化了Etzion的二进制算法并将单符号生成时间优化至O(n),首次提出基于后继规则的二进制构造方法,还开发了可推广到k元情形的O(n)时间空间复杂度的生成算法。

摘要:

cut-down de Bruijn序列是长度为$L$(满足$1 \leq L \leq k^n$)的循环字符串,其中每个长度为$n$的子串至多出现一次。Etzion于1986年在《Theor. Comp. Sci》第44卷中提出了一种构造二进制cut-down de Bruijn序列的算法,该算法每生成一个符号需要$o(n)$次简单的$n$位操作。本文对该算法进行了简化,将每生成一个符号的运行时间提升至$\mathcal{O}(n)$,空间复杂度为$\mathcal{O}(n)$。随后,我们借助近期提出的固定密度Lyndon词排序算法,首次提出了一种基于后继规则的二进制cut-down de Bruijn序列构造方法。最后,我们开发了一种适用于$k>2$的cut-down de Bruijn序列生成算法,经过初始化后,该算法每生成一个符号的时间复杂度为$\mathcal{O}(n)$,空间复杂度为$\mathcal{O}(n)$。尽管我们的$k$元算法基于简化版的Etzion二进制算法,但要推广到更大的字母表,仍需要多项非平凡的适配工作。

英文摘要:

A cut-down de Bruijn sequence is a cyclic string of length $L$, where $1 \leq L \leq k^n$, such that every substring of length $n$ appears at most once. Etzion [Theor. Comp. Sci 44 (1986)] gives an algorithm to construct binary cut-down de Bruijn sequences that requires $o(n)$ simple $n$-bit operations per symbol generated. In this paper, we simplify the algorithm and improve the running time to $\mathcal{O}(n)$ time per symbol generated using $\mathcal{O}(n)$ space. We then provide the first successor-rule approach for constructing a binary cut-down de Bruijn sequence by leveraging recent ranking algorithms for fixed-density Lyndon words. Finally, we develop an algorithm to generate cut-down de Bruijn sequences for $k>2$ that runs in $\mathcal{O}(n)$ time per symbol using $\mathcal{O}(n)$ space after some initialization. While our $k$-ary algorithm is based on our simplified version of Etzion's binary algorithm, a number of non-trivial adaptations are required to generalize to larger alphabets.

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

↑