首页    期刊浏览 2024年11月24日 星期日
登录注册

文章基本信息

  • 标题:Computing the Antiperiod(s) of a String
  • 本地全文:下载
  • 作者:Hayam Alamro ; Golnaz Badkobeh ; Djamal Belazzougui
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:128
  • 页码:1-11
  • DOI:10.4230/LIPIcs.CPM.2019.32
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:A string S[1,n] is a power (or repetition or tandem repeat) of order k and period n/k, if it can be decomposed into k consecutive identical blocks of length n/k. Powers and periods are fundamental structures in the study of strings and algorithms to compute them efficiently have been widely studied. Recently, Fici et al. (Proc. ICALP 2016) introduced an antipower of order k to be a string composed of k distinct blocks of the same length, n/k, called the antiperiod. An arbitrary string will have antiperiod t if it is prefix of an antipower with antiperiod t. In this paper, we describe efficient algorithm for computing the smallest antiperiod of a string S of length n in O(n) time. We also describe an algorithm to compute all the antiperiods of S that runs in O(n log n) time.
  • 关键词:antiperiod; antipower; power; period; repetition; run; string
国家哲学社会科学文献中心版权所有