memr5 / Algorithms

Various Algorithms
MIT License
26 stars 162 forks source link

Added snippet for finding all cliques in .py #252

Open X3NOSIZ opened 5 years ago

X3NOSIZ commented 5 years ago

takes dict of sets

each key is a vertex

value is set of all edges connected to vertex

returns list of lists (each sub list is a maximal clique)