network.ned
来自「Programming language: Developed in Omnet」· NED 代码 · 共 22 行
NED
22 行
//-------------------------------
// 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";
endnetwork
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?