Function ADS::clique

Function Documentation

inline std::optional<Nodes> ADS::clique(const Adjacency &G, int k)

enCricca(): k nodes all adjacent, or nothing

Pre:

G is unoriented, i.e., square and symmetric

Post:

a set returned is a clique of k nodes