计算字符串的重叠对

Eric Rivals, Pengfei Wang
{"title":"计算字符串的重叠对","authors":"Eric Rivals, Pengfei Wang","doi":"arxiv-2405.09393","DOIUrl":null,"url":null,"abstract":"A correlation is a binary vector that encodes all possible positions of\noverlaps of two words, where an overlap for an ordered pair of words (u,v)\noccurs if a suffix of word u matches a prefix of word v. As multiple pairs can\nhave the same correlation, it is relevant to count how many pairs of words\nshare the same correlation depending on the alphabet size and word length n. We\nexhibit recurrences to compute the number of such pairs -- which is termed\npopulation size -- for any correlation; for this, we exploit a relationship\nbetween overlaps of two words and self-overlap of one word. This theorem allows\nus to compute the number of pairs with a longest overlap of a given length and\nto show that the expected length of the longest border of two words\nasymptotically diverges, which solves two open questions raised by Gabric in\n2022. Finally, we also provide bounds for the asymptotic of the population\nratio of any correlation. Given the importance of word overlaps in areas like\nword combinatorics, bioinformatics, and digital communication, our results may\nease analyses of algorithms for string processing, code design, or genome\nassembly.","PeriodicalId":501216,"journal":{"name":"arXiv - CS - Discrete Mathematics","volume":"41 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-05-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Counting overlapping pairs of strings\",\"authors\":\"Eric Rivals, Pengfei Wang\",\"doi\":\"arxiv-2405.09393\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A correlation is a binary vector that encodes all possible positions of\\noverlaps of two words, where an overlap for an ordered pair of words (u,v)\\noccurs if a suffix of word u matches a prefix of word v. As multiple pairs can\\nhave the same correlation, it is relevant to count how many pairs of words\\nshare the same correlation depending on the alphabet size and word length n. We\\nexhibit recurrences to compute the number of such pairs -- which is termed\\npopulation size -- for any correlation; for this, we exploit a relationship\\nbetween overlaps of two words and self-overlap of one word. This theorem allows\\nus to compute the number of pairs with a longest overlap of a given length and\\nto show that the expected length of the longest border of two words\\nasymptotically diverges, which solves two open questions raised by Gabric in\\n2022. Finally, we also provide bounds for the asymptotic of the population\\nratio of any correlation. Given the importance of word overlaps in areas like\\nword combinatorics, bioinformatics, and digital communication, our results may\\nease analyses of algorithms for string processing, code design, or genome\\nassembly.\",\"PeriodicalId\":501216,\"journal\":{\"name\":\"arXiv - CS - Discrete Mathematics\",\"volume\":\"41 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-05-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Discrete Mathematics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2405.09393\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Discrete Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2405.09393","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

相关性是一个二进制向量,它编码了两个单词重叠的所有可能位置,其中,如果单词 u 的后缀与单词 v 的前缀相匹配,则有序单词对 (u,v) 会发生重叠。由于多个单词对可能具有相同的相关性,因此,根据字母表大小和单词长度 n 来计算有多少单词对具有相同的相关性是非常重要的。为此,我们利用了两个词的重叠和一个词的自重叠之间的关系。利用这一定理,我们可以计算出具有给定长度的最长重叠的词对数量,并证明两个词的最长边界的预期长度近似发散,从而解决了加布里克在 2022 年提出的两个悬而未决的问题。最后,我们还给出了任何相关性的人口比率的渐近边界。鉴于单词重叠在单词组合学、生物信息学和数字通信等领域的重要性,我们的结果可能有助于分析字符串处理、代码设计或基因组组装的算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Counting overlapping pairs of strings
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 diverges, 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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Reconfiguration of labeled matchings in triangular grid graphs Decision problems on geometric tilings Ants on the highway A sequential solution to the density classification task using an intermediate alphabet Complexity of Deciding the Equality of Matching Numbers
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1