datasink.ned

来自「In this implementation of AntNet-3.0 one」· NED 代码 · 共 22 行

NED
22
字号
//-------------------------------
// File: dataSink.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------

//Sink --
//
// 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,
		statModulePath : string;
	gates:
		in: fromRouter;
endsimple

⌨️ 快捷键说明

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