network.ned
来自「use swarm intelligence to simulate netwo」· NED 代码 · 共 24 行
NED
24 行
//-------------------------------
// File: network.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------
import "nttNet.ned",
"antNetworkNode.ned";
//
// The actual simplenetwork is instantiated for Antnet Algorithm
// here, by substituting nodetype with antNetworkNode
//
network nttNet : NTTNetwork
parameters:
numNodes = 57,
numGates = 6,
dataRate = 6000000,
nodetype = "antNetworkNode",
dPath = "routeDB",
sPath = "stats";
endnetwork
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?