mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-19 03:59:45 +00:00
Switch to dictionary for the network matrices
This commit is contained in:
parent
94b47ceab5
commit
7540e8290d
26 changed files with 72 additions and 72 deletions
|
@ -8,7 +8,7 @@ import numpy as np
|
|||
|
||||
B=np.full((3,3),8)
|
||||
L=np.full((3,3),0)
|
||||
s=esds.Simulator(B,L,B,L)
|
||||
s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L},"eth0":{"bandwidth":B, "latency":L}})
|
||||
|
||||
s.create_node("sender")
|
||||
s.create_node("receiver")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue