【24h】

Online Algorithms on Antipowers and Antiperiods

机译:在AtipoWers和Antiperiods上的在线算法

获取原文

摘要

The definition of antipower introduced by Fici et al. (ICALP 2016) captures the notion of being the opposite of a power: a sequence of k pairwise distinct blocks of the same length. Recently, Alamro et al. (CPM 2019) defined a string to have an antiperiod if it is a prefix of an antipower, and gave complexity bounds for the offline computation of the minimum antiperiod and all the antiperiods of a word. In this paper, we address the same problems in the online setting. Our solutions rely on new arrays that compactly and incrementally store antiperiods and antipowers as the word grows, obtaining in the process this information for all the word's prefixes. We show how to compute those arrays online in O(n log n) space, O(n log n) time, and o(n~e) delay per character, for any constant e > 0. Running times are worst-case and hold with high probability. We also discuss more space-efficient solutions returning the correct result with high probability, and small data structures to support random access to those arrays.
机译:antipower的定义中,FICI等人提出。 (ICALP 2016)捕获的是一个功率的相对的概念:相同长度的k个不同的成对块的序列。近日,Alamro等。 (CPM 2019)中定义的字符串有一个antiperiod如果它是一个antipower的前缀,并给了复杂性界限的最低antiperiod的离线计算和单词的所有antiperiods。在本文中,我们讨论在网上设置了同样的问题。我们的解决方案依赖于紧凑,并逐步存储antiperiods和antipowers作为字的增长,在这个过程中获得该信息的所有单词的前缀新的阵列。我们展示了如何在线计算这些阵列在为O(n log n)的空间,为O(n log n)的时间,以及O(N〜E)每个字符的延迟,对于任何常数e> 0运行时间为最坏情况和保持高概率。我们还讨论了更节省空间的解决方案返回高概率和小数据结构正确的结果,以支持这些数组的随机存取。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号