k-Clique Counting
#
Problem Specification#
Input, an undirected graph.
#
Output, the total number of -cliques in . Each unordered -clique is counted once.
#
Algorithm ImplementationsIn GBBS we implement the -clique algorithm recently proposed by Shi et al. [1]. The algorithm has polylogarithmic depth and is work-efficient (matches the work of the best sequential algorithm) for sparse graphs. The implementation is based on computing a low-outdegree orientation.
The code for our implemenation is available here.
#
Cost BoundsOur implementation runs in work and depth (for any constant ). More details can be found in [1].
#
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] Jessica Shi, Laxman Dhulipala, and Julian Shun
Parallel Clique Counting and Peeling Algorithms
Under Submission
arXiv Version