首页> 外文会议>Workshop on Algorithm Engineering and Experiments >A Simple Parallel Cartesian Tree Algorithm and its Application to Suffix Tree Construction
【24h】

A Simple Parallel Cartesian Tree Algorithm and its Application to Suffix Tree Construction

机译:一种简单的并行笛卡尔树算法及其在后缀树构建的应用

获取原文

摘要

We present a simple linear work and space, and poly-logarithmic time parallel algorithm for generating multiway Cartesian trees. As a special case, the algorithm can be used to generate suffix trees from suffix arrays on arbitrary alphabets in the same bounds. In conjunction with parallel suffix array algorithms, such as the skew algorithm, this gives a rather simple linear work parallel algorithm for generating suffix trees over an integer alphabet ∑ {is contained in} [1,....,n], where n is the length of the input string. More generally, given a sorted sequences of strings and the longest common prefix lengths between adjacent elements, the algorithm will generate a pat tree (compacted trie) over the strings. We also present experimental results comparing the performance of the algorithm to existing sequential implementations and a second parallel algorithm. We present comparisons for the Cartesian tree algorithm on its own and for constructing a suffix tree using our algorithm. The results show that on a variety of strings our algorithm is competitive with the sequential version on a single processor and achieves good speedup on multiple processors.
机译:我们提出了一种简单的线性工作和空间,以及用于生成多道笛卡尔曲面的多对数时间并行算法。作为一个特殊情况,算法可用于从同一范围的任意字母上生成从后缀阵列的后缀树。在具有平行的后缀数组算法,如偏斜算法相结合,这提供了用于在字母表Σ的整数生成后缀树一个相当简单的线性工作并行算法{载于} [1,...,N],其中n是输入字符串的长度。更一般地,给定相邻元件之间的字符串和最长的常见前缀长度,该算法将在串上生成PAT树(压缩的TRIE)。我们还呈现实验结果比较算法对现有顺序实现的性能和第二并行算法。我们以自己的算法为自己的笛卡尔树算法对笛卡尔树算法进行比较,并使用我们的算法构建后缀树。结果表明,在各种字符串上,我们的算法对单个处理器上的顺序版本具有竞争力,并在多个处理器上实现了良好的加速。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号