datasink.ned
来自「Programming language: Developed in Omnet」· NED 代码 · 共 21 行
NED
21 行
//-------------------------------
// File: dataSink.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------
//
// The purpose of sink is to simulate a destination computer.
// If ant is destined for the current machine then
// it will be given to sink that will destroy it and creates
// stastics
//
simple dataSink
parameters:
sleepTimeAtStart: numeric,
throughputInterval: numeric,
logResults : bool,
statFile : string;
gates:
in: fromRouter;
endsimple
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?