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 /tests/simple_wait_end_3n | |
| parent | 94b47ceab5c910a6f17b5a4b69d2e14161be073e (diff) | |
Switch to dictionary for the network matrices
Diffstat (limited to 'tests/simple_wait_end_3n')
| -rwxr-xr-x | tests/simple_wait_end_3n/simulator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple_wait_end_3n/simulator.py b/tests/simple_wait_end_3n/simulator.py index 6b68c46..4ffa44c 100755 --- a/tests/simple_wait_end_3n/simulator.py +++ b/tests/simple_wait_end_3n/simulator.py @@ -8,7 +8,7 @@ import numpy as np B=np.full((3,3),2) 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("node") s.create_node("node") |
