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

📄 costants.h

📁 this is source code for adhoc network using omnet
💻 H
字号:
/* ------ constants used in the simulator  ------ */#ifndef COSTANTSZ_H#define COSTANTSZ_H#define MOVE 2#define DATA 3/* ------ message priorities ------ */#define P_MOVE 4#define P_DATA  3/* ------ time costants ------ *//*should include queueing delays, interrupt processing times and transfer  times*/#define NODE_TRAVERSAL_TIME 30e-03/* ------ other costants ------ */#define BROADCAST -1//#define DEBUG a#ifdef DEBUG	#define d(x) ev<<((parentModule()->id()-2)/5)<<","<<name()<<":"<<x<<"\n"#endif#ifndef DEBUG	#define d(x) /* x .*/#endif#define dd(x) ev<<((parentModule()->id()-2)/5)<<","<<name()<<":"<<x<<"\n"#endif

⌨️ 快捷键说明

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