network.ned
来自「In this implementation of AntNet-3.0 one」· NED 代码 · 共 25 行
NED
25 行
//-------------------------------
// File: network.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------
import "nttNet.ned",
"antNetworkNode.ned";
// Network--
//
// 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",
sPath = "stats";
endnetwork
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?