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

remove log

parent 85fab5a2
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ def generate_topohub_GNS3_topology():
P_values = np.random.lognormal(mean=0, sigma=1, size=g.graph['stats']['nodes']).tolist()
# P_values = [0.49729683886415604, 2.8478372536019494, 0.5638497692033089, 1.7066441178756397, 1.0955777113276581, 0.6624609705231256, 1.2170507302967504, 2.241922851235645,
# 0.9904057794366734, 0.10045359874192523, 0.1331217360266883, 0.7161751639559052]
print("P_values:", P_values)
# print("P_values:", P_values)
# Extract X (longitude) and Y (latitude) positions
positions = {node: data["pos"] for node, data in g.nodes(data=True)}
......@@ -281,7 +281,7 @@ def generate_topohub_GNS3_topology():
# Access graph parameters
print(g.graph['name'])
# print(g.graph['demands'])
print(g.graph['stats']['nodes'])
# print(g.graph['stats']['nodes'])
topology_nodes = g.nodes(data=True)
# print(topology_nodes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment