一个简单而有效地计算字的全阿贝尔周期的注记
A Note on Easy and Efficient Computation of Full Abelian Periods of a Word
摘要:
Constantinescu和Ilie(Bulletin of the EATCS 89,167-170,2006)介绍了一个阿贝尔周期的概念,该周期具有有限字的头部和尾部。如果头和尾都是空的,则阿贝尔周期被称为满周期。我们提出了一个简单和易于实现的$O(n\log\log n)$时间算法计算所有完整的阿贝尔周期的一个字的长度$n$在一个恒定大小的字母表。实验表明,我们的算法显着优于$O(n)$算法提出的Kociumaka等人。(Proc. of STACS,245-256,2013)对于相同的问题。
英文摘要:
Constantinescu and Ilie (Bulletin of the EATCS 89, 167-170, 2006) introduced the idea of an Abelian period with head and tail of a finite word. An Abelian period is called full if both the head and the tail are empty. We present a simple and easy-to-implement $O(n\log\log n)$-time algorithm for computing all the full Abelian periods of a word of length $n$ over a constant-size alphabet. Experiments show that our algorithm significantly outperforms the $O(n)$ algorithm proposed by Kociumaka et al. (Proc. of STACS, 245-256, 2013) for the same problem.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。