首页    期刊浏览 2024年12月02日 星期一
登录注册

文章基本信息

  • 标题:Efficiently Finding All Maximal alpha-gapped Repeats
  • 本地全文:下载
  • 作者:Pawel Gawrychowski ; Tomohiro I ; Shunsuke Inenaga
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2016
  • 卷号:47
  • 页码:39:1-39:14
  • DOI:10.4230/LIPIcs.STACS.2016.39
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:For alpha >=1, an alpha-gapped repeat in a word w is a factor uvu of w such that |uv| <= alpha * |u|; the two occurrences of a factor u in such a repeat are called arms. Such a repeat is called maximal if its arms cannot be extended simultaneously with the same symbol to the right nor to the left. We show that the number of all maximal alpha-gapped repeats occurring in words of length n is upper bounded by 18 * alpha * n, allowing us to construct an algorithm finding all maximal alpha-gapped repeats of a word on an integer alphabet of size n^{O}(1)} in {O}(alpha * n) time. This result is optimal as there are words that have Theta(alpha * n) maximal alpha-gapped repeats. Our techniques can be extended to get comparable results in the case of alpha-gapped palindromes, i.e., factors uvu^{T} with |uv| <= alpha |u|.
  • 关键词:combinatorics on words; counting algorithms
国家哲学社会科学文献中心版权所有