simple.ned

来自「this is source code for adhoc network us」· NED 代码 · 共 72 行

NED
72
字号
simple Mobility    parameters:    	minSpeed,       // vel in m/s	maxSpeed,	movKind,        //0 torus, 1 rebound	XRange,	YRange,	pauseTime,      //pause waited after reacing of a destination	moveInterval,   //time to elaps between two steps	distance, 	//used in random waypoint	target,		//used in pursuit model	speedVariator;    gates:    	out: out;endsimplesimple Physic    parameters:    	txPower,	rxThreshold,	channelDelay,	channelDatarate,	channelError;    gates:	in: fromMobility;	in: fromMac;	out: toMac;endsimplesimple Mac    parameters:	inBufferSize,	promisqueMode : bool;    gates:        in: fromPh;        in: fromRoute;        out: toRoute;        out: toPh;endsimplesimple Application    parameters:    	rate,       //paket per secod	pktSize,	hostNum,	active,	burstInterval; // time(s) between two data bursts    gates:    	out: out;endsimplesimple Routing    gates:        in: fromMac;	in: fromApp;	out: toMac;endsimple//IEEE-802.11a channel//channel etere//	delay 0.0001;//	datarate 11.04858e+6 ; // 11Mbit/sec//	error 0.000001;//endchannel

⌨️ 快捷键说明

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