antnest.ned
来自「Programming language: Developed in Omnet」· NED 代码 · 共 40 行
NED
40 行
//-------------------------------
// File: antNest.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------
//
// The purpose of this module is manifold. This module
// is a sort of nest where ants could come and then
// they are processed accordingly. All important steps
// needed to do antprocessing are implemented in this
// module
//
simple antNest
parameters:
expMeanCoefficient : numeric const,
windowSizeCoefficient : numeric const,
zetaConfidenceLevel : numeric const,
explorationProbablity : numeric const,
rescalingPower : numeric const,
queueWeight : numeric const,
forkProbability : numeric const,
squashFunctionCoefficient : numeric const,
maxHopsCoefficient : numeric const,
ageLimit : numeric const,
timeWeight : numeric const,
probabilisticRouting : bool,
sleepTimeAtStart: numeric,
converganceTime: numeric,
logResults : bool,
statFile : string;
gates:
out: toAntSink;
out: toRouter;
in: fromRouter;
in: fromAntGen;
endsimple
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?