arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1212.4613cs.DS
收藏

位置堆的新算法

New Algorithms for Position Heaps

Travis Gagie, Wing-Kai Hon, Tsung-Han Ku

摘要:

我们提出了几个结果的位置堆,一个相对较新的替代后缀树和后缀数组。首先,我们证明了,如果我们限制要寻找的模式的最大长度,那么我们也可以限制堆的高度,并减少插入和删除的最坏情况下的成本。其次,我们展示了如何在线性时间内建立一个位置堆,而不依赖于字母表的大小。第三,我们展示了如何增加位置堆,使其支持访问相应的后缀数组,反之亦然。第四,我们引入了一个位置堆的变体,它可以通过一个具有线性额外位数的压缩后缀数组来有效地模拟。

英文摘要:

We present several results about position heaps, a relatively new alternative to suffix trees and suffix arrays. First, we show that, if we limit the maximum length of patterns to be sought, then we can also limit the height of the heap and reduce the worst-case cost of insertions and deletions. Second, we show how to build a position heap in linear time independent of the size of the alphabet. Third, we show how to augment a position heap such that it supports access to the corresponding suffix array, and vice versa. Fourth, we introduce a variant of a position heap that can be simulated efficiently by a compressed suffix array with a linear number of extra bits.

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

↑