📄 readme
字号:
This scenario has four nodes: A, B, C, D. B and C are permanently connected toD. A <-> B has a down interval of 40, and an up interval of 20 (MED = 13.3).A <-> C has a down interval of 20, and an up interval of 5 (MED = 8). Thereare two messages sent. The first one will go via B using MED, and go via Cusing ED. The second will go via B for both. The "use_Ideal" script can beused to force ED/MED to use the Ideal contact model.The commands look like:* IdealNode + "real" contact with normal bandwidth and latency > 0: java -ea -cp bin/lib simulator.Main -verbose 5 examples/simple/simple_Ideal* ED + "real" contact with normal bandwidth and latency > 0: java -ea -cp bin/lib simulator.Main -verbose 5 examples/simple/simple_ED* MED + "real" contact with normal bandwidth and latency > 0: java -ea -cp bin/lib simulator.Main -verbose 5 examples/simple/simple_MED* MEED + "real" contact with normal bandwidth and latency > 0: java -ea -cp bin/lib simulator.Main -verbose 5 examples/simple/simple_MEED* ED + IdealContact with infinite bandwidth and latency = 0: java -ea -cp bin/lib simulator.Main -verbose 5 examples/simple/simple_ED examples/simple/use_Ideal* MED + IdealContact with infinite bandwidth and latency = 0: java -ea -cp bin/lib simulator.Main -verbose 5 examples/simple/simple_MED examples/simple/use_Ideal* MEED + IdealContact with infinite bandwidth and latency = 0: java -ea -cp bin/lib simulator.Main -verbose 5 examples/simple/simple_MEED examples/simple/use_Ideal* IdealNode + IdealContact with infinite bandwidth and latency = 0: java -ea -cp bin/lib simulator.Main -verbose 5 examples/simple/simple_Ideal examples/simple/use_IdealAll the files will create simple statistics in examples/simple/simple_stats.csv file.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -