diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-06-10 19:49:19 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-06-10 19:49:19 +0200 |
| commit | 7540e8290d4b770b23d94da734b6ddf9e208c287 (patch) | |
| tree | 9d48046efac403cd5df78a5270a6ffdbfdc20235 /example/simulator.py | |
| parent | 94b47ceab5c910a6f17b5a4b69d2e14161be073e (diff) | |
Switch to dictionary for the network matrices
Diffstat (limited to 'example/simulator.py')
| -rwxr-xr-x | example/simulator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simulator.py b/example/simulator.py index 40a37a8..fb1b94f 100755 --- a/example/simulator.py +++ b/example/simulator.py @@ -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 |
