Graph Spanner
#
Problem Specification#
Input, an undirected, unweighted graph, and an integer stretch factor, .
#
Output, a set of edges such that for every connected in , .
#
Algorithm ImplementationsThe algorithm is based on the Miller, Peng, Xu, and Vladu (MPXV) paper from SPAA'15 [1]. Our implementation is described in more detail in [2]. The code for our implemenation is available here.
The construction results in an -spanner with expected size .
#
Cost BoundsThe algorithm runs in work and depth w.h.p. More details about our implementation and the cost bounds can be found in Section 6.1 of [2].
#
Compiling and RunningThe benchmark can be compiled by running:
It can then be run on a test input graph in the uncompressed format as follows:
It can then be run on a test input graph in the compressed format as follows:
#
References[1] Gary L. Miller, Richard Peng, Adrian Vladu, Shen Chen Xu.
Improved Parallel Algorithms for Spanners and Hopsets.
Proceedings of the ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), 2015.
[2] Laxman Dhulipala, Guy Blelloch, and Julian Shun
Theoretically Efficient Parallel Graph Algorithms Can Be Fast and Scalable
Proceedings of the ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pp. 393-404, 2018.