Commit 9e1a1db7 authored by Fize Jacques's avatar Fize Jacques

Bag of cliques : change enumerate_cliques() to find_cliques()

parent 37b712ed
......@@ -54,7 +54,7 @@ cdef class BagOfCliques(Base):
if not g:
continue
# sys.stdout.write("\r{0}/{1} -- {2}".format(km,len_graphs,len(g)))
cliques = list(nx.enumerate_all_cliques(nx.Graph(g)))
cliques = list(nx.find_cliques(nx.Graph(g)))
#no clique found
#print(nx.Graph(g).edges())
#cliques =[]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment