Electrical and Computer Engineering, Computer Science
Journal or Book Title
Concurrency and Computation: Practice and Experience
The incremental graph connectivity (IGC) problem is to maintain a data structure that can quickly answer whether two given vertices in a graph are connected, while allowing more edges to be added to the graph. IGC is a fundamental problem and can be solved efficiently in the sequential setting using a solution to the classical union‐find problem. However, sequential solutions are not sufficient to handle modern‐day large, rapidly‐changing graphs where edge updates arrive at a very high rate. We present the first shared‐memory parallel data structure for union‐find (equivalently, IGC) that is both provably work‐efficient (ie, performs no more work than the best sequential counterpart) and has polylogarithmic parallel depth. We also present a simpler algorithm with slightly worse theoretical properties, but which is easier to implement and has good practical performance. Our experiments on large graph streams with various degree distributions show that it has good practical performance, capable of processing hundreds of millions of edges per second using a 20‐core machine.
John Wiley & Sons, Ltd.
Simsiri, Natcha; Tangwongsan, Kanat; Tirthapura, Srikanta; and Wu, Kun-Lung, "Work‐Efficient Parallel Union‐Find" (2018). Electrical and Computer Engineering Publications. 197.