From 7540e8290d4b770b23d94da734b6ddf9e208c287 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 10 Jun 2022 19:49:19 +0200 Subject: Switch to dictionary for the network matrices --- tests/simple_send_wlan0_1s2r/simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/simple_send_wlan0_1s2r/simulator.py') diff --git a/tests/simple_send_wlan0_1s2r/simulator.py b/tests/simple_send_wlan0_1s2r/simulator.py index 0778101..50d1732 100755 --- a/tests/simple_send_wlan0_1s2r/simulator.py +++ b/tests/simple_send_wlan0_1s2r/simulator.py @@ -8,7 +8,7 @@ import numpy as np B=np.full((3,3),8) 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") -- cgit v1.2.3