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

计数重叠的词对

Counting overlapping pairs of words

Eric Rivals, Pengfei Wang

AI总结:

本文通过建立词重叠与自重叠的关系提出递推式计算共享相同相关的词对数量,解决了词最长边界期望长度渐近收敛等开放问题,并提供了种群比率的渐近界限。

摘要:

相关是一个二进制向量,它编码了两个词所有可能的重叠位置,其中对于有序词对(u,v),如果词u的后缀与词v的前缀匹配,则发生重叠。由于多对词可以具有相同的相关性,因此根据字母表大小和词长n计数有多少词对共享相同的相关性是有意义的。我们展示了计算任何相关性的此类词对数量(称为种群大小)的递推关系;为此,我们利用了两个词的重叠与一个词自重叠之间的关系。该定理使我们能够计算具有给定长度最长重叠的词对数量,并证明两个词的最长边界的期望长度渐近收敛,从而解决了Gabric在2022年提出的两个开放问题。最后,我们还提供了任何相关性的种群比率的渐近界限。鉴于词重叠在词组合学、生物信息学和数字通信等领域的重要性,我们的结果可能简化对字符串处理、代码设计或基因组组装算法的分析。

英文摘要:

A correlation is a binary vector that encodes all possible positions of overlaps of two words, where an overlap for an ordered pair of words (u,v) occurs if a suffix of word u matches a prefix of word v. As multiple pairs can have the same correlation, it is relevant to count how many pairs of words share the same correlation depending on the alphabet size and word length n. We exhibit recurrences to compute the number of such pairs -- which is termed population size -- for any correlation; for this, we exploit a relationship between overlaps of two words and self-overlap of one word. This theorem allows us to compute the number of pairs with a longest overlap of a given length and to show that the expected length of the longest border of two words asymptotically converges, which solves two open questions raised by Gabric in 2022. Finally, we also provide bounds for the asymptotic of the population ratio of any correlation. Given the importance of word overlaps in areas like word combinatorics, bioinformatics, and digital communication, our results may ease analyses of algorithms for string processing, code design, or genome assembly.

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

↑