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

多核结构上小波树的并行构造

Parallel Construction of Wavelet Trees on Multicore Architectures

José Fuentes-Sepúlveda, Erick Elejalde, Leo Ferres, Diego Seco

摘要:

小波树已经成为一种非常有用的数据结构,可以有效地表示和查询从生物信息学到地理信息系统等许多不同领域的大量数据。小波树的一个问题是它们的构造时间。在本文中,我们介绍了两个算法,降低时间复杂度的小波树的建设,利用目前普遍存在的多核机器。我们的第一个算法在$O(n)$时间和工作空间的$O(n\lgσ+ σ\lg n)$位并行构造小波的所有级别,其中$n$是输入序列的大小,$σ$是字母表的大小。我们的第二个算法以域分解的方式构造小波树,在每个段中使用我们的第一个算法,达到$O(\lg n)$时间和额外空间的$O(n\lgσ+ pσ\lg n/\lgσ)$位,其中$p$是可用核的数量。这两种算法都是实用的,并报告良好的加速为大型真实数据集。

英文摘要:

The wavelet tree has become a very useful data structure to efficiently represent and query large volumes of data in many different domains, from bioinformatics to geographic information systems. One problem with wavelet trees is their construction time. In this paper, we introduce two algorithms that reduce the time complexity of a wavelet tree's construction by taking advantage of nowadays ubiquitous multicore machines. Our first algorithm constructs all the levels of the wavelet in parallel in $O(n)$ time and $O(n\lgσ+ σ\lg n)$ bits of working space, where $n$ is the size of the input sequence and $σ$ is the size of the alphabet. Our second algorithm constructs the wavelet tree in a domain-decomposition fashion, using our first algorithm in each segment, reaching $O(\lg n)$ time and $O(n\lgσ+ pσ\lg n/\lgσ)$ bits of extra space, where $p$ is the number of available cores. Both algorithms are practical and report good speedup for large real datasets.

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

↑