⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 omnetpp.ini

📁 OMNET++仿真三色算法的源码,三色算法是无线传感器中一个典型的分簇算法
💻 INI
字号:
#omnetpp.ini[General]network = worldini-warnings = nosnapshot-file = snapShot.snaoutput-vector-file = xputVect.vecoutput-scalar-file = yputVect.scasim-time-limit = 0htotal-stack-kb = 32768num-rngs=5

#parallel-simulation=true
#parsim-communications-class = "cMPICommunications"
#parsim-synchronization-class = "cNullMessageProtocol"[Cmdenv]module-messages =noevent-banners =noruns-to-execute = 1express-mode = yesstatus-frequency= 500000default-run = 1[Tkenv]default-run= 1slavelog = yesslavelog-file = slave.loguse-mainwindow = yesmodmsgs-to-console = yesanimation-speed = 2.0[Parameters]	#world moduleworld.height = 300world.width = 500world.dim = 30	#mobility model;include Ini/avrSpeed.ini;world.N[*].mobilityModel = "RandomWalk";include Ini/randWalk.ini;world.N[*].mobilityModel = "RestrictedRandWalk";include Ini/resRWalk.ini;world.N[*].mobilityModel = "RandomWP";include Ini/randWP.ini;world.N[*].mobilityModel = "RandomDirection";include Ini/rDir.ini;world.N[*].mobilityModel = "Pursuit";include Ini/pursuit.iniworld.N[*].mobilityModel = "Normal"include Ini/normal.ini	#mobile host moduleworld.N[*].x = intuniform(5,195) world.N[*].y = intuniform(5,195) world.N[*].routeAlgorithm = "BCAST"
;world.N[*].routeAlgorithm = "AODV"world.N[*].macAlgorithm = "SimpleMac"	#pyisic module
world.N[*].physic.txPower =  9900#world.N[*].physic.txPower =  uniform(9000,9900)world.N[*].physic.rxThreshold =  1
world.N[*].physic.channelDelay = 0.00#world.N[*].physic.channelDelay = 0.0001world.N[*].physic.channelDatarate = 11.04858e+6
world.N[*].physic.channelError = 0.00#world.N[*].physic.channelError = 0.000001	#mac moduleworld.N[*].mac.promisqueMode = true;world.N[*].mac.inBufferSize = 8.38864e6	#application module;pakets per secodworld.N[*].app.rate = 3;pakets of 512 byte = 4096 bitworld.N[*].app.pktSize = 4096;time elapsed  between two data burst
world.N[*].app.HHH = 110world.N[*].app.ST1 = 100
world.N[*].app.ST2 = 100
world.N[*].app.ST3 = 100
world.N[*].app.burstInterval = 2
#world.N[*].app.burstInterval = truncnormal(2,1.0)
;indicate the active hosts, they will generate traffic in all the ;simulator run. ;Due to the different random position of each node;fixing the host name that will work will not cause any;statistical problemworld.N[1].app.active = 1world.N[3].app.active = 1 world.N[7].app.active = 1
world.N[19].app.active = 1
world.N[13].app.active = 1
world.N[27].app.active = 1
world.N[39].app.active = 1
world.N[43].app.active = 1
world.N[57].app.active = 1
world.N[69].app.active = 1
world.N[73].app.active = 1
world.N[89].app.active = 1world.N[*].app.active = 1 ;it is necessary to add this due to a probable bug

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -