1. On the overall and delay complexity of the CLIQUES and Bron-Kerbosch algorithms
- Author
-
Etsuji Tomita and Alessio Conte
- Subjects
Delay ,Polynomial ,General Computer Science ,Logarithm ,Clique (graph theory) ,Theoretical Computer Science ,Output sensitive ,Constraint (information theory) ,Maximal cliques ,Maximum size ,Almost surely ,Graph enumeration ,Polynomial delay ,Algorithm ,Clique number ,MathematicsofComputing_DISCRETEMATHEMATICS ,Mathematics - Abstract
We revisit the maximal clique enumeration algorithm cliques by Tomita et al. that appeared in Theoretical Computer Science in 2006. It is known to work in O ( 3 n / 3 ) -time in the worst-case for an n-vertex graph. This is worst-case optimal with respect to the input size, but there is little knowledge about its performance with respect to the output. In this paper, we extend the time-complexity analysis with respect to the maximum size and the number of maximal cliques, and to its delay, solving issues that were left as open problems since the original paper. In particular, we prove that cliques has Ω ( 3 n / 6 ) delay and that, even if we allow to change the pivoting strategy, a variant having polynomial delay cannot be designed unless P = N P . These same results apply to the related Bron-Kerbosch algorithm. On the positive side, we show that the complexity of cliques and Bron-Kerbosch is amortized polynomial on graphs with logarithmic clique number. As these algorithms are widely used and regarded as fast “in practice”, we are interested in observing their practical behavior: we run an evaluation of cliques and three Bron-Kerbosch variants on over 130 real-world and synthetic graphs, observing how the clique number almost always satisfies our logarithmic constraint, and that their performance seems far from its theoretical worst-case behavior in terms of both total time and delay. 1
- Published
- 2022
- Full Text
- View/download PDF