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

📄 antnest.ned

📁 use swarm intelligence to simulate network routings in omnet
💻 NED
字号:
//-------------------------------
// File: antNest.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------

//
// The purpose of this module is manifold. This module
// is a sort of nest where ants could come and then
// they are processed accordingly. All important steps
// needed to do antprocessing are implemented in this
// module
//
simple antNest

	parameters:
		expMeanCoefficient : numeric const,
		windowSizeCoefficient : numeric const,
		zetaConfidenceLevel : numeric const,
		explorationProbablity : numeric const,
		rescalingPower : numeric const,
		queueWeight : numeric const,
		forkProbability : numeric const,
		squashFunctionCoefficient : numeric const,
		maxHopsCoefficient : numeric const,
		ageLimit : numeric const,
		timeWeight : numeric const,
		probabilisticRouting : bool,
		sleepTimeAtStart: numeric,
		converganceTime: numeric,
		logResults : bool,
		statModulePath : string;

	gates:
		out: toAntSink;
		out: toRouter;
		in: fromRouter;
		in: fromAntGen;

endsimple

⌨️ 快捷键说明

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