arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.00271cs.DScs.FL
收藏

极大闭子串(Maximal Closed Substrings)

Maximal Closed Substrings

Golnaz Badkobeh, Alessandro De Luca, Gabriele Fici, Simon Puglisi

AI总结:

该研究提出极大闭子串(MCS)的定义,明确其与游程、极大带间隙重复的关联,并给出一种能在O(n log n)时间内定位长度为n的字符串中所有MCS的算法。

摘要:

若一个字符串长度为1,或拥有一个不存在内部出现的非空边界,则称该字符串是闭的。本文提出了**极大闭子串**(maximal closed substring,简称MCS)的定义:即无法向左或向右扩展为更长闭子串的闭子串出现。指数不小于2的MCS通常被称为runs(游程);而指数小于2的MCS则属于maximal gapped repeats(极大带间隙重复)的特例。我们提出了一种算法,对于长度为n的输入字符串,该算法能在O(n log n)时间内定位其包含的所有MCS。

英文摘要:

A string is closed if it has length 1 or has a nonempty border without internal occurrences. In this paper we introduce the definition of a \emph{maximal closed substring} (MCS), which is an occurrence of a closed substring that cannot be extended to the left nor to the right into a longer closed substring. MCSs with exponent at least $2$ are commonly called \emph{runs}; those with exponent smaller than $2$, instead, are particular cases of \emph{maximal gapped repeats}. We provide an algorithm that, given a string of length $n$ locates all MCSs the string contains in $\mathcal O(n\log n)$ time.

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

↑