blob: 85a067102050996314d2f60a250f51d24b0772e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env python
# Load ESDS
import esds
import numpy as np
B=np.full((3,3),3)
L=np.full((3,3),0)
s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L, "is_wired":False}, "eth0":{"bandwidth":B, "latency":L, "is_wired":True}})
s.create_node("sender")
s.create_node("sender")
s.create_node("receiver")
s.run(interferences=False)
|