周期集合之集的增量计算
Incremental computation of the set of period sets
AI总结:
针对所有长度为 $n$ 的单词周期集合之集 $\Gamma_n$ 的枚举难题,本文提出由 $\Gamma_{n-1}$ 增量构造 $\Gamma_n$ 的低空间复杂度方法及构造性认证算法,并以亲子关系刻画其动态。
摘要:
单词之间的重叠在计算机科学的许多领域都至关重要,例如码设计、字符串学和生物信息学。一个自重叠单词由其周期和边界刻画。单词 $u$ 的周期是指 $u$ 的某个后缀的起始位置,而该后缀同时也是 $u$ 的前缀,这样的后缀称为边界。长度为(比如说)$n>0$ 的每个单词都有一个周期集合,但并非整数的所有组合都能成为周期集合。计算单词 $u$ 的周期集合所需时间与 $u$ 的长度呈线性关系。我们研究计算所有长度为 $n$ 的单词的周期集合所构成的集合(记为 $\Gamma_n$)这一问题。尽管周期集合已经得到刻画,但尚不存在计算 $\Gamma_n$ 基数(其关于 $n$ 呈指数增长)的公式,而已知的用于枚举 $\Gamma_n$ 的动态规划算法又受困于其空间复杂度。我们提出了一种由 $\Gamma_{n-1}$ 计算 $\Gamma_n$ 的增量方法,该方法降低了空间复杂度;随后提出了一种可用于验证目的的构造性认证算法。该增量方法在 $\Gamma_{n-1}$ 与 $\Gamma_n$ 中的集合之间定义了一种亲子关系,使人们能够研究周期集合的动态变化及其引人入胜的统计性质。此外,单词 $u$ 的周期集合是计算 $u$ 在随机文本中缺失概率的关键。因此,了解 $\Gamma_n$ 有助于评估单词统计量的显著性,例如随机文本中缺失单词的数量。
英文摘要:
Overlaps between words are crucial in many areas of computer science, such as code design, stringology, and bioinformatics. A self overlapping word is characterized by its periods and borders. A period of a word $u$ is the starting position of a suffix of $u$ that is also a prefix $u$, and such a suffix is called a border. Each word of length, say $n>0$, has a set of periods, but not all combinations of integers are sets of periods. Computing the period set of a word $u$ takes linear time in the length of $u$. We address the question of computing, the set, denoted $Γ_n$, of all period sets of words of length $n$. Although period sets have been characterized, there is no formula to compute the cardinality of $Γ_n$ (which is exponential in $n$), and the known dynamic programming algorithm to enumerate $Γ_n$ suffers from its space complexity. We present an incremental approach to compute $Γ_n$ from $Γ_{n-1}$, which reduces the space complexity, and then a constructive certification algorithm useful for verification purposes. The incremental approach defines a parental relation between sets in $Γ_{n-1}$ and $Γ_n$, enabling one to investigate the dynamics of period sets, and their intriguing statistical properties. Moreover, the period set of a word $u$ is the key for computing the absence probability of $u$ in random texts. Thus, knowing $Γ_n$ is useful to assess the significance of word statistics, such as the number of missing words in a random text.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。