小波树和Rank/Select结构的改进并行构造
Improved Parallel Construction of Wavelet Trees and Rank/Select Structures
摘要:
现有的并行小波树构造算法的工作复杂度为$O(n\logσ)$。本文提出了该问题的并行算法,改进了工作复杂度。我们的第一个算法是基于并行整数排序,并具有$O(n\log\log n\lceil\logσ/\sqrt{\log n\log\log n}\rceil)$工作和多对数深度,或$O(n\lceil\logσ/\sqrt{\log n}\rceil)$工作和次线性深度。我们还描述了另一种算法,具有$O(n\lceil\logσ/\sqrt{\log n} \rceil)$工作和$O(σ+\log n)$深度。然后,我们将展示如何使用类似的想法来构造小波树(任意形状的二叉树和多叉树)的变种,以及小波矩阵的并行与较低的工作复杂度比以前的算法。最后,我们表明,二进制序列和多进制序列,这是存储在小波树节点上的秩和选择结构,可以并行构造改进的工作范围,匹配现有的最好的顺序算法的秩和选择结构的构造。
英文摘要:
Existing parallel algorithms for wavelet tree construction have a work complexity of $O(n\logσ)$. This paper presents parallel algorithms for the problem with improved work complexity. Our first algorithm is based on parallel integer sorting and has either $O(n\log\log n\lceil\logσ/\sqrt{\log n\log\log n}\rceil)$ work and polylogarithmic depth, or $O(n\lceil\logσ/\sqrt{\log n}\rceil)$ work and sub-linear depth. We also describe another algorithm that has $O(n\lceil\logσ/\sqrt{\log n} \rceil)$ work and $O(σ+\log n)$ depth. We then show how to use similar ideas to construct variants of wavelet trees (arbitrary-shaped binary trees and multiary trees) as well as wavelet matrices in parallel with lower work complexity than prior algorithms. Finally, we show that the rank and select structures on binary sequences and multiary sequences, which are stored on wavelet tree nodes, can be constructed in parallel with improved work bounds, matching those of the best existing sequential algorithms for constructing rank and select structures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。