不交集并的一个随机并行算法
A Randomized Concurrent Algorithm for Disjoint Set Union
摘要:
不交集并问题是数据结构中的一个基本问题,有着广泛的应用。我们扩展了一个已知的有效的顺序算法,这个问题得到一个简单而有效的并发等待免费的算法上运行的异步并行随机存取机(APRAM)。对我们的结果至关重要的是随机化的使用。在一定的独立性假设下,对于一个有n个元素,m个操作和p个过程的问题实例,我们的算法做Theta(m(alpha(n,m/(np))+ log(np/m + 1)预期的工作,其中期望是在算法所做的随机选择上,alpha是Ackermann函数的函数逆。此外,每个操作都需要O(log n)的步骤,具有高概率。我们的算法是显着更简单,更有效地比以前的算法提出的安德森和沃尔。在我们的独立性假设下,我们的算法实现了几乎线性的加速应用程序中,所有或大部分的进程可以保持忙碌。
英文摘要:
The disjoint set union problem is a basic problem in data structures with a wide variety of applications. We extend a known efficient sequential algorithm for this problem to obtain a simple and efficient concurrent wait-free algorithm running on an asynchronous parallel random access machine (APRAM). Crucial to our result is the use of randomization. Under a certain independence assumption, for a problem instance in which there are n elements, m operations, and p processes, our algorithm does Theta(m (alpha(n, m/(np)) + log(np/m + 1))) expected work, where the expectation is over the random choices made by the algorithm and alpha is a functional inverse of Ackermann's function. In addition, each operation takes O(log n) steps with high probability. Our algorithm is significantly simpler and more efficient than previous algorithms proposed by Anderson and Woll. Under our independence assumption, our algorithm achieves almost-linear speed-up for applications in which all or most of the processes can be kept busy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。