English

Optimal searching of gapped repeats in a word

Formal Languages and Automata Theory 2015-10-05 v3

Abstract

Following (Kolpakov et al., 2013; Gawrychowski and Manea, 2015), we continue the study of {\em α\alpha-gapped repeats} in strings, defined as factors uvuuvu with uvαu|uv|\leq \alpha |u|. Our main result is the O(αn)O(\alpha n) bound on the number of {\em maximal} α\alpha-gapped repeats in a string of length nn, previously proved to be O(α2n)O(\alpha^2 n) in (Kolpakov et al., 2013). For a closely related notion of maximal δ\delta-subrepetition (maximal factors of exponent between 1+δ1+\delta and 22), our result implies the O(n/δ)O(n/\delta) bound on their number, which improves the bound of (Kolpakov et al., 2010) by a logn\log n factor. We also prove an algorithmic time bound O(αn+S)O(\alpha n+S) (SS size of the output) for computing all maximal α\alpha-gapped repeats. Our solution, inspired by (Gawrychowski and Manea, 2015), is different from the recently published proof by (Tanimura et al., 2015) of the same bound. Together with our bound on SS, this implies an O(αn)O(\alpha n)-time algorithm for computing all maximal α\alpha-gapped repeats.

Keywords

Cite

@article{arxiv.1509.01221,
  title  = {Optimal searching of gapped repeats in a word},
  author = {Maxime Crochemore and Roman Kolpakov and Gregory Kucherov},
  journal= {arXiv preprint arXiv:1509.01221},
  year   = {2015}
}

Comments

27 pages. arXiv admin note: text overlap with arXiv:1309.4055