查找字符串的循环覆盖

IF 0.7 4区 计算机科学 Q4 COMPUTER SCIENCE, INFORMATION SYSTEMS
Roberto Grossi , Costas S. Iliopoulos , Jesper Jansson , Zara Lim , Wing-Kin Sung , Wiktor Zuba
{"title":"查找字符串的循环覆盖","authors":"Roberto Grossi ,&nbsp;Costas S. Iliopoulos ,&nbsp;Jesper Jansson ,&nbsp;Zara Lim ,&nbsp;Wing-Kin Sung ,&nbsp;Wiktor Zuba","doi":"10.1016/j.ipl.2025.106594","DOIUrl":null,"url":null,"abstract":"<div><div>We introduce the concept of cyclic covers, which generalizes the classical notion of covers in strings. Given any string <em>X</em>, a factor <em>W</em> of <em>X</em> is called a <em>cyclic cover</em> if each position of <em>X</em> belongs to an occurrence of a cyclic shift of <em>W</em> in <em>X</em>. Two cyclic covers are distinct if one is not a cyclic shift of the other. The <em>cyclic covers problem</em> asks for all distinct cyclic covers of an input string <em>X</em>. We present an algorithm that solves the cyclic covers problem in <span><math><mi>O</mi><mo>(</mo><mi>n</mi><mi>log</mi><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span> time, where <em>n</em> is the length of <em>X</em>. It is based on finding a well-structured set of standard occurrences of a constant number of factors of a cyclic cover candidate <em>W</em>, computing the regions of <em>X</em> covered by cyclic shifts of <em>W</em>, extending those factors, and taking the union of the results.</div></div>","PeriodicalId":56290,"journal":{"name":"Information Processing Letters","volume":"191 ","pages":"Article 106594"},"PeriodicalIF":0.7000,"publicationDate":"2025-06-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Finding the cyclic covers of a string\",\"authors\":\"Roberto Grossi ,&nbsp;Costas S. Iliopoulos ,&nbsp;Jesper Jansson ,&nbsp;Zara Lim ,&nbsp;Wing-Kin Sung ,&nbsp;Wiktor Zuba\",\"doi\":\"10.1016/j.ipl.2025.106594\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>We introduce the concept of cyclic covers, which generalizes the classical notion of covers in strings. Given any string <em>X</em>, a factor <em>W</em> of <em>X</em> is called a <em>cyclic cover</em> if each position of <em>X</em> belongs to an occurrence of a cyclic shift of <em>W</em> in <em>X</em>. Two cyclic covers are distinct if one is not a cyclic shift of the other. The <em>cyclic covers problem</em> asks for all distinct cyclic covers of an input string <em>X</em>. We present an algorithm that solves the cyclic covers problem in <span><math><mi>O</mi><mo>(</mo><mi>n</mi><mi>log</mi><mo>⁡</mo><mi>n</mi><mo>)</mo></math></span> time, where <em>n</em> is the length of <em>X</em>. It is based on finding a well-structured set of standard occurrences of a constant number of factors of a cyclic cover candidate <em>W</em>, computing the regions of <em>X</em> covered by cyclic shifts of <em>W</em>, extending those factors, and taking the union of the results.</div></div>\",\"PeriodicalId\":56290,\"journal\":{\"name\":\"Information Processing Letters\",\"volume\":\"191 \",\"pages\":\"Article 106594\"},\"PeriodicalIF\":0.7000,\"publicationDate\":\"2025-06-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Information Processing Letters\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0020019025000389\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Processing Letters","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0020019025000389","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

摘要

我们引入了循环覆盖的概念,它推广了经典的弦覆盖概念。给定任意字符串X,如果X的每个位置都属于X中W的循环移位的出现,则因子W (X)称为循环覆盖。如果一个不是另一个的循环移位,则两个循环覆盖是不同的。循环覆盖的问题要求输入字符串X的所有不同的循环覆盖我们提出一种算法,解决了循环覆盖问题O (nlog⁡n),其中n是X,它的长度是找到一套结构良好的标准的基础上出现的一个常数的因素循环覆盖候选人W,计算X的区域覆盖的循环变化的W,扩展这些因素,结果的结合。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Finding the cyclic covers of a string
We introduce the concept of cyclic covers, which generalizes the classical notion of covers in strings. Given any string X, a factor W of X is called a cyclic cover if each position of X belongs to an occurrence of a cyclic shift of W in X. Two cyclic covers are distinct if one is not a cyclic shift of the other. The cyclic covers problem asks for all distinct cyclic covers of an input string X. We present an algorithm that solves the cyclic covers problem in O(nlogn) time, where n is the length of X. It is based on finding a well-structured set of standard occurrences of a constant number of factors of a cyclic cover candidate W, computing the regions of X covered by cyclic shifts of W, extending those factors, and taking the union of the results.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Information Processing Letters
Information Processing Letters 工程技术-计算机:信息系统
CiteScore
1.80
自引率
0.00%
发文量
70
审稿时长
7.3 months
期刊介绍: Information Processing Letters invites submission of original research articles that focus on fundamental aspects of information processing and computing. This naturally includes work in the broadly understood field of theoretical computer science; although papers in all areas of scientific inquiry will be given consideration, provided that they describe research contributions credibly motivated by applications to computing and involve rigorous methodology. High quality experimental papers that address topics of sufficiently broad interest may also be considered. Since its inception in 1971, Information Processing Letters has served as a forum for timely dissemination of short, concise and focused research contributions. Continuing with this tradition, and to expedite the reviewing process, manuscripts are generally limited in length to nine pages when they appear in print.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信