Work-Efficient Parallel Union-Find with Applications to Incremental Graph Connectivity
Work-Efficient Parallel Union-Find with Applications to Incremental Graph Connectivity
复制标题
高效工作的并行并查找及其在增量图连接中的应用
DOI:
10.1007/978-3-319-43659-3_41
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
Kun
中科院分区:
文献类型:
--
作者:
Natcha Simsiri;Kanat Tangwongsan;Srikanta Tirthapura;Kun
On an undirected graph, how can one quickly answer whether two vertices are connected while allowing more edges to be added incrementally? This is the well-studied incremental graph connectivity IGC problem, a fundamental problem that can be efficiently solved using solutions to the classical union-find problem. Motivated by the need to handle larger and rapidly-changing graphs, this paper presents the first shared-memory parallel algorithm for IGC and equivalently, Union-Find that is provably work-efficient i.e., does no more work than the sequential optimal and has polylogarithmic parallel depth. It performs path compression in parallel without a lock or speculative execution. We also present a simpler algorithm with slightly worse theoretical properties, but which is easier to implement, and has good practical performance.