📄 antgenerator.ned
字号:
//-------------------------------
// File: antGenerator.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------
//Generator --
//
// The generator will randomly generate a packet that for
// a random destination
simple antGenerator
parameters:
iaTime : numeric,
address : numeric const,
numStations : numeric const,
messageLength : numeric const,
sleepTimeAtStart: numeric,
logResults : bool,
converganceTime : numeric const,
statModulePath : string;
gates:
in: fromDataGen;
out: toRouter;
out: toAntNest;
endsimple
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -