⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 genericnetworknode.ned

📁 用OMNET++仿真蚁群的源码,是无线传感器网络仿真的一个重要工具
💻 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 + -