...
首页> 外文期刊>Discrete Applied Mathematics >Algorithms for computing Abelian periods of words
【24h】

Algorithms for computing Abelian periods of words

机译:计算阿贝尔单词周期的算法

获取原文
获取原文并翻译 | 示例

摘要

Constantinescu and Ilie [S. Constantinescu, L. Ilie. Fine and Wilf's theorem for abelian periods, Bulletin of the European Association for Theoretical Computer Science 89 (2006) 167-170] introduced the notion of an Abelian period of a word. A word of length n over an alphabet of size σ can have Θ(n~2) distinct Abelian periods. The Brute-Force algorithm computes all the Abelian periods of a word in time O(n~2 × σ) using O(n × σ) space. We present an offline algorithm based on a select function having the same worst-case theoretical complexity as the Brute-Force one, but outperforming it in practice. We then present online algorithms that also enable us to compute all the Abelian periods of all the prefixes of w.
机译:Constantinescu和Ilie [S.君士坦丁斯库,L。Ilie。精细和威尔夫定理为阿贝尔时期,欧洲理论计算机科学协会简报89(2006)167-170]引入了单词阿贝尔时期的概念。在大小为σ的字母上长度为n的单词可以具有Θ(n〜2)个不同的阿贝尔周期。蛮力算法使用O(n×σ)空间计算单词时间O(n〜2×σ)的所有阿贝尔周期。我们提出了一种基于选择函数的离线算法,该算法具有与Brute-Force相同的最坏情况理论复杂度,但在实践中却表现出色。然后,我们介绍在线算法,这些算法也使我们能够计算w的所有前缀的所有阿贝尔周期。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号