The number of runs in a string
The number of runs in a string
复制标题
字符串中的运行次数
DOI:
10.1016/j.ic.2007.01.007
复制
发表时间:
2007
期刊:
影响因子:
--
通讯作者:
W. Rytter
中科院分区:
文献类型:
--
作者:
W. Rytter
A run in a string is a nonextendable (with the same minimal period) periodic segment in a string. The set of runs corresponds to the structure of internal periodicities in a string. Periodicities in strings were extensively studied and are important both in theory and practice (combinatorics of words, pattern-matching, computational biology). Let ρ(n) be the maximal number of runs in a string of length n. It has been shown that ρ(n)=O(n), the proof was very complicated and the constant coefficient in O(n) has not been given explicitly. We demystify the proof of the linear upper bound for ρ(n) and propose a new approach to the analysis of runs based on the properties of subperiods:the periods of periodic parts of the runs We show that ρ(n)≤3.44n and there are at most O.67n runs with periods larger than 87. This supports the conjecture that the number of all runs is smaller than n. We also give a completely new proof of the linear bound and discover several new interesting “periodicity lemmas”.