?? omnetpp.ini
字號:
[General]
preload-ned-files=*.ned
network=alohaNet
[Parameters]
alohaNet.numHosts=20
alohaNet.txRate=9600
alohaNet.host[*].pkLenBits=952 #=119 bytes, so that (with +1 byte guard) slotTime is a nice round number
alohaNet.host[*].radioDelay=0.01
[Run 1]
description="pure Aloha, overloaded"
# no slots
alohaNet.slotTime=0
# too frequent transmissions result in high collision rate and low channel utilization
alohaNet.host[*].iaTime=exponential(2)
[Run 2]
description="pure Aloha, optimal load"
# no slots
alohaNet.slotTime=0
# near optimal load, channel utilization is near theoretical maximum 1/2e
alohaNet.host[*].iaTime=exponential(6)
[Run 3]
description="pure Aloha, low traffic"
# no slots
alohaNet.slotTime=0
# very low traffic results in channel being idle mosy of the time
alohaNet.host[*].iaTime=exponential(30)
[Run 4]
description="slotted Aloha, overloaded"
# slotTime = pkLen/txRate = 960/9600 = 0.1s
alohaNet.slotTime=0.1s
# too frequent transmissions result in high collision rate and low channel utilization
alohaNet.host[*].iaTime=exponential(0.5)
[Run 5]
description="slotted Aloha, optimal load"
# slotTime = pkLen/txRate = 960/9600 = 0.1s
alohaNet.slotTime=0.1s
# near optimal load, channel utilization is near theoretical maximum 1/e
alohaNet.host[*].iaTime=exponential(2)
[Run 6]
description="slotted Aloha, low traffic"
# slotTime = pkLen/txRate = 960/9600 = 0.1s
alohaNet.slotTime=0.1s
# very low traffic results in channel being idle mosy of the time
alohaNet.host[*].iaTime=exponential(20)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -