Switch to dictionary for the network matrices

This commit is contained in:
Loic Guegan 2022-06-10 19:49:19 +02:00
parent 94b47ceab5
commit 7540e8290d
26 changed files with 72 additions and 72 deletions

View file

@ -9,7 +9,7 @@ import numpy as np
n=2
B=np.full((2,2),n)
L=np.full((2,2),0)
s=esds.Simulator(B,L,B,L)
s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L},"eth0":{"bandwidth":B, "latency":L}})
s.create_node("node")
s.create_node("node")