English

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

Data Structures and Algorithms 2010-06-29 v1 Discrete Mathematics

Abstract

The degeneracy of an nn-vertex graph GG is the smallest number dd such that every subgraph of GG contains a vertex of degree at most dd. 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 O(dn3d/3)O(dn3^{d/3}). We also provide matching upper and lower bounds showing that the largest possible number of maximal cliques in an nn-vertex graph with degeneracy dd (when dd is a multiple of 3 and nd+3n\ge d+3) is (nd)3d/3(n-d)3^{d/3}. Therefore, our algorithm matches the Θ(d(nd)3d/3)\Theta(d(n-d)3^{d/3}) worst-case output size of the problem whenever nd=Ω(n)n-d=\Omega(n).

Keywords

Cite

@article{arxiv.1006.5440,
  title  = {Listing All Maximal Cliques in Sparse Graphs in Near-optimal Time},
  author = {David Eppstein and Maarten Löffler and Darren Strash},
  journal= {arXiv preprint arXiv:1006.5440},
  year   = {2010}
}

Comments

13 pages, 3 figures