中文

阿贝尔游程的快速计算

数据结构与算法 2017-01-02 v2

摘要

给定一个单词ww和一个Parikh向量P\mathcal{P}ww中周期为P\mathcal{P}的阿贝尔游程是指ww的具有阿贝尔周期P\mathcal{P}的子串的最大出现。我们的主要结果是一个在线算法,该算法给定字母表基数为σ\sigma、长度为nn的单词ww和Parikh向量P\mathcal{P},在O(n)O(n)时间和O(σ+p)O(\sigma+p)空间内返回ww中所有周期为P\mathcal{P}的阿贝尔游程,其中ppP\mathcal{P}的范数,即其各分量之和。我们还提出了一个在线算法,对于任意给定的范数pp,在O(np)O(np)时间内计算ww中所有周期为范数pp的阿贝尔游程。最后,我们给出了一个O(n2)O(n^2)时间的离线随机算法来计算ww的所有阿贝尔游程。其确定性对应算法运行时间为O(n2logσ)O(n^2\log\sigma)

关键词

引用

@article{arxiv.1506.08518,
  title  = {Fast Computation of Abelian Runs},
  author = {Gabriele Fici and Tomasz Kociumaka and Thierry Lecroq and Arnaud Lefebvre and Elise Prieur-Gaston},
  journal= {arXiv preprint arXiv:1506.08518},
  year   = {2017}
}

备注

To appear in Theoretical Computer Science