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(3n/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 Ω(3n/6) delay and that, even if we allow to change the pivoting strategy, a variant having polynomial delay cannot be designed unless P=NP. 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

On the overall and delay complexity of the CLIQUES and Bron-Kerbosch algorithms

Conte A.
;
2022-01-01

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(3n/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 Ω(3n/6) delay and that, even if we allow to change the pivoting strategy, a variant having polynomial delay cannot be designed unless P=NP. 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
2022
Conte, A.; Tomita, E.
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11568/1139267
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? 3
social impact