mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-05-01 09:17:45 +00:00
Update all integration tests and debug platform parsing
This commit is contained in:
parent
17bfda379b
commit
be6dafcd10
61 changed files with 167 additions and 753 deletions
|
@ -1,20 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Load ESDS
|
||||
import esds
|
||||
import numpy as np
|
||||
|
||||
B=np.full((3,3),8)
|
||||
|
||||
# Hide the nodes from each others
|
||||
B[0,2]=0
|
||||
B[2,0]=0
|
||||
|
||||
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("receiver")
|
||||
s.create_node("sender")
|
||||
|
||||
s.run()
|
Loading…
Add table
Add a link
Reference in a new issue