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

内准周期

Internal Quasiperiod Queries

Maxime Crochemore, Costas Iliopoulos, Jakub Radoszewski, Wojciech Rytter, Juliusz Straszyński, Tomasz Waleń, Wiktor Zuba

摘要:

内部模式匹配需要回答关于给定字符串的因子的查询。许多结果是已知的回答内部期间查询,要求一个给定的因素的时期。在本文中,我们调查(第一次)内部查询要求覆盖(也称为准周期)的一个给定的因素。我们提出了一个数据结构,回答这样的查询在$O(\log n \log \log n)$时间为最短的封面和在$O(\log n (\log \log n)^2)$时间为所有的封面表示,后$O(n \log n)$时间和空间预处理。

英文摘要:

Internal pattern matching requires one to answer queries about factors of a given string. Many results are known on answering internal period queries, asking for the periods of a given factor. In this paper we investigate (for the first time) internal queries asking for covers (also known as quasiperiods) of a given factor. We propose a data structure that answers such queries in $O(\log n \log \log n)$ time for the shortest cover and in $O(\log n (\log \log n)^2)$ time for a representation of all the covers, after $O(n \log n)$ time and space preprocessing.

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

↑