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

📄 antsink.ned

📁 用OMNET++仿真蚁群的源码,是无线传感器网络仿真的一个重要工具
💻 NED
字号:
//-------------------------------
// File: antSink.ned
// This is a simple simulation program whose purpose is just
// to understand how antNet algorithm works
//-------------------------------

//
// The purpose of sink is to simulate a destination computer.
// If ant is destined for the current machine then
// it will be given to sink that will destroy it and creates
// stastics
//
simple antSink
    parameters:
        sleepTimeAtStart: numeric,
        throughputInterval : numeric,
        logResults : bool,
        statFile : string;
    gates:
        in: fromAntNest;
endsimple

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -