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_read_eth0_ncom_2s1r/simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/simple_read_eth0_ncom_2s1r') diff --git a/tests/simple_read_eth0_ncom_2s1r/simulator.py b/tests/simple_read_eth0_ncom_2s1r/simulator.py index c5ee571..fe53f77 100755 --- a/tests/simple_read_eth0_ncom_2s1r/simulator.py +++ b/tests/simple_read_eth0_ncom_2s1r/simulator.py @@ -8,7 +8,7 @@ import numpy as np B=np.full((3,3),3) 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("sender") -- cgit v1.2.3