Bron–Kerbosch Maximal Cliques
Follow R, P and X to find every maximal clique without confusing maximal with maximum.
Free theory articleFollow R, P and X to find every maximal clique without confusing maximal with maximum.
Concept & interpretation
The Bron–Kerbosch algorithm is an efficient, recursive backtracking procedure to find all maximal cliques in an undirected graph. A clique is a subset of vertices such that every two distinct vertices in the subset are adjacent. A clique is maximal if it cannot be extended by including one more adjacent vertex—meaning it is inclusion-wise unextendible. This is distinct from a maximum clique, which simply refers to the clique(s) with the largest number of vertices.
Experiment
- Select "Triangle and tail" from the Graph dropdown.
- Click "Step" repeatedly to trace the algorithm and see the cliques discovered.
- Click "Finish" to jump to the final results and see the maximal clique count.
Open the full module in a new tab for a dedicated view of the enumeration steps.