?? antgenerator.ned
字號:
//-------------------------------
// File: antGenerator.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------
//
// 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,
statFile : string;
gates:
in: fromDataGen;
out: toRouter;
out: toAntNest;
endsimple
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -