def graph_clique_number(G, cliques=None):
 if (cliques is None):
  cliques = find_cliques(G)
 return max([len(c) for c in cliques])

def graph_clique_number ( G , cliques = None ) : if ( cliques is None ) : cliques = find_cliques ( G ) return max ( [ len ( c ) for c in cliques ] )
returns the clique number of the graph .