WSN中LEACH協议源码分析.docVIP

  • 4
  • 0
  • 约1.63万字
  • 约 10页
  • 2016-12-07 发布于重庆
  • 举报
WSN中LEACH協议源码分析

WSN中LEACH协议源码分析 分析(一) 首先对wireless.tcl进行分析,先对默认的脚本选项进行初始化: set opt(chan)Channel/WirelessChannel set opt(prop) Propagation/TwoRayGround set opt(netif)Phy/WirelessPhy set opt(mac) Mac/802_11 set opt(ifq) Queue/DropTail/PriQueue set opt(ll) LL set opt(ant) Antenna/OmniAntenna set opt(x) 0 ;# X dimension of the topography set opt(y) 0 ;# Y dimension of the topography set opt(cp) set opt(sc) ../mobility/scene/scen-670x670-50-600-20-2 ;# scenario file set opt(ifqlen) 50;# max packet in if set opt(nn) 51 ;# number of nodes set opt(seed) 0.0 set opt(stop) 10.0 ;# simulation time

文档评论(0)

1亿VIP精品文档

相关文档