⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datagenerator.ned

📁 use swarm intelligence to simulate network routings in omnet
💻 NED
字号:
//-------------------------------
// File: datagenerator.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 dataGenerator
	parameters:
		numMessages : numeric,
		iaTime : numeric,
		address : numeric const,
		numStations : numeric const,
		messageLength : numeric,
		sleepTimeAtStart: numeric,
		converganceTime : numeric,
		msiaTime : numeric,
		sessionSize : numeric,
		factor : numeric,
		hotSpot : numeric,
		startTime : numeric,
		endTime : numeric,
		hotmpia : numeric,
		logResults : bool,
		statModulePath : string;

	gates:
		out: toRouter;
		out: toAntGen;
endsimple

⌨️ 快捷键说明

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