?? genericnetworknode.ned
字號:
//-------------------------------
// File: genericNetworkNode.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------
//
// 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,
sFile : string;
gates:
in: in[];
out: out[];
endsimple
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -