genericnetworknode.ned
来自「In this implementation of AntNet-3.0 one」· NED 代码 · 共 28 行
NED
28 行
//-------------------------------
// File: genericNetworkNode.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------
// genericRoutingNode --
// Interface of routing nodes that could be used
// in our simulations. The idea is that we can
// have antNetRotuingNode, OSPFRoutingNode, or
// similar nodes so that we just need to provide the
// type.
simple genericNetworkNode
parameters:
address : numeric const,
numStations : numeric const,
nGates : numeric const,
dataRate : numeric const,
log : bool,
statPath : string;
gates:
in: in[];
out: out[];
endsimple
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?