17
0

Adaptive Massively Parallel Connectivity in Optimal Space

Abstract

We study the problem of finding connected components in the Adaptive Massively Parallel Computation (AMPC) model. We show that when we require the total space to be linear in the size of the input graph the problem can be solved in O(logn)O(\log^* n) rounds in forests (with high probability) and 2O(logn)2^{O(\log^* n)} expected rounds in general graphs. This improves upon an existing O(loglogm/nn)O(\log \log_{m/n} n) round algorithm. For the case when the desired number of rounds is constant we show that both problems can be solved using Θ(m+nlog(k)n)\Theta(m + n \log^{(k)} n) total space in expectation (in each round), where kk is an arbitrarily large constant and log(k)\log^{(k)} is the kk-th iterate of the log2\log_2 function. This improves upon existing algorithms requiring Ω(m+nlogn)\Omega(m + n \log n) total space.

View on arXiv
Comments on this paper