LEACH协议OMNET++仿真源代码

时间:2012-05-28 07:28:02
【文件属性】:
文件名称:LEACH协议OMNET++仿真源代码
文件大小:182KB
文件格式:RAR
更新时间:2012-05-28 07:28:02
LEACH OMNET++ 仿真 LEACH协议OMNET++仿真源代码 The code contains two directories: one is a distributed LEACH version, the other one a centralized where the base station (assumed to know everything) chooses the optimal cluster head. The "optimal" is in the code approximated via rules that include some kind of geopgraphical criteria among others. In solar.h you choose if you want to have solar turned on or not and also set some other parameters. To compile on Linux: opp_makemake -f -N make On Windows with Visual C++: opp_nmakemake -f -N nmake -f Makefile.vc

网友评论

  • 有问题不能直接导入
  • 4x的版本会报错,需要修改
  • 代码有问题,运行没结果
  • 没办法运行起来啊
  • 有些小问题 试着改改
  • 帮同学下载的,说运行时也出现了编译出错的问题。
  • 这代码很好,可以运行,不过都是集中式的leach协议,好像也是根据国外的一个太阳能改写的。很好!
  • 想起以前做毕设 真的很感谢楼主啊 谢谢 有了这个我才完成毕设的
  • 没办法跑起来,尚在学习中
  • 这应该是从OMNET++官网上下载的关于太阳能的LEACH算法 还没有研究出怎么用 希望高人解答
  • 编译时出错了,说什么重定义了。