WLJS LogoWLJS Notebook

FindKClub

FindKClub[g,k] finds a largest k-club in the graph g.

Examples

(* Find a 2-club *)
g = RandomGraph[{10, 20}];
FindKClub[g, 2]

(* Find a 3-club *)
FindKClub[g, 3]

Please visit the official Wolfram Language Reference for more details.

On this page