Documentation

Ramsey2lemmas.BronKerbosch

theorem List.length_wf {α : Type} :
WellFounded fun (x y : List α) => x.length < y.length
@[irreducible]
def SimpleGraph.Bron_Kerbosch_full {α : Type} [Fintype α] [DecidableEq α] (G : SimpleGraph α) [DecidableRel G.Adj] {R P X : List α} (Pnd : P.Nodup) (RP : R.Disjoint P) (RX : R.Disjoint X) (PX : P.Disjoint X) :
Equations
Instances For
    theorem SimpleGraph.Bron_Kerbosch_maximal_clique {α : Type} [Fintype α] [deceq : DecidableEq α] (G : SimpleGraph α) [DecidableRel G.Adj] {R P X : List α} (Pnd : P.Nodup) (RP : R.Disjoint P) (RX : R.Disjoint X) (PX : P.Disjoint X) :
    G.IsClique R.toFinset(∀ (v : α), v P.toFinset X.toFinset uR, G.Adj v u)∀ (S : Finset α), S G.Bron_Kerbosch_full Pnd RP RX PX R.toFinset S S R.toFinset P.toFinset Maximal G.IsClique S
    Equations
    Instances For