summaryrefslogtreecommitdiff
path: root/tests/hidden_node_2s1r/simulator.py
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-06-10 19:49:19 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-06-10 19:49:19 +0200
commit7540e8290d4b770b23d94da734b6ddf9e208c287 (patch)
tree9d48046efac403cd5df78a5270a6ffdbfdc20235 /tests/hidden_node_2s1r/simulator.py
parent94b47ceab5c910a6f17b5a4b69d2e14161be073e (diff)
Switch to dictionary for the network matrices
Diffstat (limited to 'tests/hidden_node_2s1r/simulator.py')
-rwxr-xr-xtests/hidden_node_2s1r/simulator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hidden_node_2s1r/simulator.py b/tests/hidden_node_2s1r/simulator.py
index bfe68ba..e839b4b 100755
--- a/tests/hidden_node_2s1r/simulator.py
+++ b/tests/hidden_node_2s1r/simulator.py
@@ -13,7 +13,7 @@ B[0,2]=0
B[2,0]=0
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")