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

📄 datasink.ned

📁 Programming language: Developed in Omnet++. Comment: The model implements the AntNet routing algori
💻 NED
字号:
//-------------------------------
// File: dataSink.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 dataSink
    parameters:
        sleepTimeAtStart: numeric,
        throughputInterval: numeric,
        logResults : bool,
        statFile : string;
    gates:
        in: fromRouter;
endsimple

⌨️ 快捷键说明

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