The worst-case time complexity for generating all maximal cliques and computational experiments

https://doi.org/10.1016/j.tcs.2006.06.015Get rights and content
Under an Elsevier user license
open archive

Abstract

We present a depth-first search algorithm for generating all maximal cliques of an undirected graph, in which pruning methods are employed as in the Bron–Kerbosch algorithm. All the maximal cliques generated are output in a tree-like form. Subsequently, we prove that its worst-case time complexity is O(3n/3) for an n-vertex graph. This is optimal as a function of n, since there exist up to 3n/3 maximal cliques in an n-vertex graph. The algorithm is also demonstrated to run very fast in practice by computational experiments.

Keywords

Maximal cliques
Enumeration
Worst-case time complexity
Computational experiments

Cited by (0)