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

📄 ns-resource.tcl

📁 这个市一个ns环境下的leach算法!大家可以多下在啊!我想要一个matlab环境下的概算法!
💻 TCL
字号:
############################################################################## This code was developed as part of the MIT SPIN project. (jk, wbh 3/24/00)############################################################################## Resource Class## Most Resources functions are "virtual".  We define all of the# functions to do nothing.  When you derive from the Resource# class, you should define your implementation of each function.Class ResourceResource instproc init args {}Resource instproc add {args} {      puts stderr "Warning: add function not implemented yet for this object"}Resource instproc remove {args} {      puts stderr "Warning: remove function not implemented yet for this object"}   Resource instproc acquire {args} {      puts stderr "Warning: acquire function not implemented yet for this object"}Resource instproc query {args} {    puts stderr "Warning: query function not implemented yet for this object"}

⌨️ 快捷键说明

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