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
|
@ -26,7 +26,7 @@ B=np.full((n,n),5) # 5Mbps
|
|||
L=np.full((n,n),0) # 0s
|
||||
|
||||
##### Create the simulator
|
||||
s=esds.Simulator(B,L,B,L)
|
||||
s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L},"eth0":{"bandwidth":B, "latency":L}})
|
||||
|
||||
##### Instantiate nodes
|
||||
uptime=180 # 180s uptime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue