The number of runs in a string

被引:41
|
作者
Rytter, Wojciech [1 ]
机构
[1] Warsaw Univ, Inst Informat, PL-02097 Warsaw, Poland
关键词
run; string; periodicity;
D O I
10.1016/j.ic.2007.01.007
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 rho(n) be the maximal number of runs in a string of length n. It has been shown that rho(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 p(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 p(n) <= 3.44 n and there are at most 0.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". (c) 2007 Elsevier Inc. All rights reserved.
引用
收藏
页码:1459 / 1469
页数:11
相关论文
共 50 条
  • [21] Average Number of Runs and Squares in Necklace
    Kusano, Kazuhiko
    Shinohara, Ayumi
    PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2010, 2010, : 167 - 177
  • [22] The maximal number of cubic runs in a word
    Crochemore, M.
    Iliopoulos, C. S.
    Kubica, M.
    Radoszewski, J.
    Rytter, W.
    Walen, T.
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2012, 78 (06) : 1828 - 1836
  • [23] Computing Maximum Number of Runs in Strings
    Kusano, Kazuhiko
    Narisawa, Kazuyuki
    Shinohara, Ayumi
    STRING PROCESSING AND INFORMATION RETRIEVAL: 19TH INTERNATIONAL SYMPOSIUM, SPIRE 2012, 2012, 7608 : 318 - 329
  • [24] An explicit formula for the number of permutations with a given number of alternating runs
    Ma, Shi-Mei
    JOURNAL OF COMBINATORIAL THEORY SERIES A, 2012, 119 (08) : 1660 - 1664
  • [25] JOINT MOMENTS OF THE NUMBER OF + RUNS AND THE NUMBER OF + SIGNS IN A RANDOM SEQUENCE
    YAMAMOTO, E
    WAKIMOTO, K
    NABEYA, S
    ANNALS OF THE INSTITUTE OF STATISTICAL MATHEMATICS, 1983, 35 (03) : 321 - 328
  • [26] Extracting Powers and Periods in a String from Its Runs Structure
    Crochemore, Maxime
    Iliopoulos, Costas
    Kubica, Marcin
    Radoszewski, Jakub
    Rytter, Wojciech
    Walen, Tomasz
    STRING PROCESSING AND INFORMATION RETRIEVAL, 2010, 6393 : 258 - +
  • [27] Bit-parallel algorithms for computing all the runs in a string
    Hirashima, Kazunori
    Bannai, Hideo
    Matsubara, Wataru
    Ishino, Akira
    Shinohara, Ayumi
    PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2009, 2009, : 203 - 213
  • [28] A Parameterized Formulation for the Maximum Number of Runs Problem
    Baker, Andrew
    Deza, Antoine
    Franek, Frantisek
    PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2011, 2011, : 74 - 82
  • [29] Efficient composite designs with small number of runs
    Ghosh, S
    AlSabah, WS
    JOURNAL OF STATISTICAL PLANNING AND INFERENCE, 1996, 53 (01) : 117 - 132
  • [30] The maximal number of runs in standard Sturmian words
    Baturo, Pawel
    Piatkowski, Marcin
    Rytter, Wojciech
    ELECTRONIC JOURNAL OF COMBINATORICS, 2013, 20 (01):