rm CondaPkg environment

This commit is contained in:
ton
2023-04-06 13:53:47 +07:00
parent 0a57ed7884
commit c43d949309
3329 changed files with 5725 additions and 447022 deletions

View File

@@ -159,7 +159,7 @@ def relaxed_caveman_graph(l, k, p, seed=None):
"""
G = nx.caveman_graph(l, k)
nodes = list(G)
for (u, v) in G.edges():
for u, v in G.edges():
if seed.random() < p: # rewire the edge
x = seed.choice(nodes)
if G.has_edge(u, x):