paper

Listing All Maximal Cliques in Sparse Graphs in Near-optimal Time

arXiv:1006.5440

Abstract

The degeneracy of an -vertex graph is the smallest number such that every subgraph of contains a vertex of degree at most . We show that there exists a nearly-optimal fixed-parameter tractable algorithm for enumerating all maximal cliques, parametrized by degeneracy. To achieve this result, we modify the classic Bron--Kerbosch algorithm and show that it runs in time . We also provide matching upper and lower bounds showing that the largest possible number of maximal cliques in an -vertex graph with degeneracy (when is a multiple of 3 and ) is . Therefore, our algorithm matches the worst-case output size of the problem whenever .

13 pages, 3 figures