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_log_5n | |
| parent | 94b47ceab5c910a6f17b5a4b69d2e14161be073e (diff) | |
Switch to dictionary for the network matrices
Diffstat (limited to 'tests/simple_log_5n')
| -rwxr-xr-x | tests/simple_log_5n/simulator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple_log_5n/simulator.py b/tests/simple_log_5n/simulator.py index 3f7775b..9d53a6f 100755 --- a/tests/simple_log_5n/simulator.py +++ b/tests/simple_log_5n/simulator.py @@ -8,7 +8,7 @@ import numpy as np B=np.full((5,5),5) L=np.full((5,5),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") |
