arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 1406.6341cs.DS
收藏

基于后缀数组的线性时间最小缺失词计算

Linear-time Computation of Minimal Absent Words Using Suffix Array

Carl Barton, Alice Heliou, Laurent Mouchard, Solon P. Pissis

摘要:

一个长度为n的词y的一个缺席词是一个在y中不出现的词。如果它的所有固有因子都出现在y中,则它是一个最小的缺词。最小缺席的话已经计算出生物体的基因组从所有领域的生活,他们的计算提供了一个快速的替代测量近似序列比较。存在一种O(n)时间和O(n)空间算法,用于基于后缀自动机的构造来计算固定大小的字母表上的所有最小缺失词(Crochemore等人,1998年)。该算法没有公开的实现。基于后缀数组的构造,对于相同的问题也存在O(n^2)-时间和O(n)-空间算法(Pinho等人,2009年)。作者还提供了该算法的实现,并且是目前最快的。在这篇文章中,我们提出了一个O(n)-时间和O(n)-空间的算法来计算所有基于后缀数组的最小缺失词,从而弥合了这个令人不快的差距。使用真实数据和合成数据的实验结果表明,各自的实现优于Pinho等人。

英文摘要:

An absent word of a word y of length n is a word that does not occur in y. It is a minimal absent word if all its proper factors occur in y. Minimal absent words have been computed in genomes of organisms from all domains of life; their computation provides a fast alternative for measuring approximation in sequence comparison. There exists an O(n)-time and O(n)-space algorithm for computing all minimal absent words on a fixed-sized alphabet based on the construction of suffix automata (Crochemore et al., 1998). No implementation of this algorithm is publicly available. There also exists an O(n^2)-time and O(n)-space algorithm for the same problem based on the construction of suffix arrays (Pinho et al., 2009). An implementation of this algorithm was also provided by the authors and is currently the fastest available. In this article, we bridge this unpleasant gap by presenting an O(n)-time and O(n)-space algorithm for computing all minimal absent words based on the construction of suffix arrays. Experimental results using real and synthetic data show that the respective implementation outperforms the one by Pinho et al.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑