arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.07759math.COcs.DMcs.DScs.ITmath.IT
收藏

de Bruijn序列的长度相似序列

Arbitrary-length analogs to de Bruijn sequences

Abhinav Nellore, Rachel Ward

摘要:

令$\widetildeα$是来自大小为$K$的字母表$\mathcal{A}$的字符的长度为$L$的循环序列,使得作为$\widetildeα$的子串的任何长度为$m$的字符串在$\mathcal{A}$上出现的次数是$\lfloor L / K^m \rfloor$或$\lceil L / K^m \rceil$ .当$L = K^N$对任意正整数$N$,$\widetildeα$是$N$阶的de Bruijn序列时,当$L \neq K^N$,$\widetildeα$与de Bruijn序列有许多共同性质.我们描述了一个算法,输出一些$\widetildeα$的任何组合的$K \geq 2$和$L \geq 1$在$O(L)$时间使用$O(L \log K)$空间。该算法推广了Lempel递归构造二进制de Bruijn序列的方法。用Python编写的实现可在https://github.com/nelloreward/pkl上获得。

英文摘要:

Let $\widetildeα$ be a length-$L$ cyclic sequence of characters from a size-$K$ alphabet $\mathcal{A}$ such that the number of occurrences of any length-$m$ string on $\mathcal{A}$ as a substring of $\widetildeα$ is $\lfloor L / K^m \rfloor$ or $\lceil L / K^m \rceil$. When $L = K^N$ for any positive integer $N$, $\widetildeα$ is a de Bruijn sequence of order $N$, and when $L \neq K^N$, $\widetildeα$ shares many properties with de Bruijn sequences. We describe an algorithm that outputs some $\widetildeα$ for any combination of $K \geq 2$ and $L \geq 1$ in $O(L)$ time using $O(L \log K)$ space. This algorithm extends Lempel's recursive construction of a binary de Bruijn sequence. An implementation written in Python is available at https://github.com/nelloreward/pkl.

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

↑