Skip to content
Snippets Groups Projects
Commit 0b37404a authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

test parameter weight

parent 0414f290
No related branches found
No related tags found
No related merge requests found
......@@ -41,9 +41,9 @@ class GraphGenerator:
for u, v in G.edges:
if "pc_" in u and "ui_" in v or "pc_" in v and "ui_" in u:
G[u][v]["weight"] = 27.0 # Strong pull
G[u][v]["weight"] = 9.0 # Strong pull
elif "ub_" in v and "ui_" in u or "ui_" in v and "ub_" in u:
G[u][v]["weight"] = 3.0 # Strong pull
G[u][v]["weight"] = 2.0 # Strong pull
else:
G[u][v]["weight"] = 1.0 # Default pull
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment