NS2fangzhen

  • R8_856651
    了解作者
  • 1.9MB
    文件大小
  • gz
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-01 03:35
    上传日期
ns2fangzhen gawk+gnuplot
AODVSimulation.tar.gz
  • AODVSimulation
  • ROtest
    85B
  • cbr
    4.4KB
  • RO
    9B
  • RO.awk~
    557B
  • ROtest~
    105B
  • test.sh~
    892B
  • RO.awk
    557B
  • tcl~
    2KB
  • aodv.tcl
    2.3KB
  • delay
    59.9KB
  • delay.awk
    2.2KB
  • throughput.awk
    436B
  • plotdelay~
    264B
  • aodv.tr
    12.5MB
  • plotdelay.sh~
    254B
  • delay.plt
    159B
  • test.sh
    890B
  • PDR.awk
    485B
  • pre.sh
    557B
  • PDR
    61B
  • aodv.nam
    9.2MB
  • aodv.tcl~
    2.3KB
  • plotdelay.plt~
    159B
  • PDR.awk~
    483B
  • scene
    459.6KB
  • analyse.sh
    252B
  • README
    275B
  • README~
    274B
  • delay.eps
    52.4KB
  • throughput
    27B
  • throughput.awk~
    434B
内容介绍
#!/bin/sh #Create a cbr file and a scence file,and move them to "~/AODVSimulation/". #-n/-nn:the number of node #-mc:the number of connection #-rate:the number of sending packet pre second #-p:pause time #-M:max moving speed #-t:time of simulator #-x/-y:the range of scence cd /home/ns235/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/ ns cbrgen.tcl -type cbr -nn ${1} -seed 1 -mc ${2} -rate 2.0 >cbr mv cbr ~/AODVSimulation/ cd setdest/ ./setdest -v 1 -n ${1} -p 0 -M 20 -t ${3} -x ${4} -y ${5} >scene mv scene ~/AODVSimulation/ cd ~/AODVSimulation/ #Ns use tcl script. ns aodv.tcl ${1} ${3} ${4} ${5} #Analyse trace file for the information of delay,packet delivery ratio,routing overhead and throughput. gawk -f delay.awk aodv.tr > delay gawk -f RO.awk aodv.tr > RO gawk -f throughput.awk aodv.tr > throughput gawk -f PDR.awk aodv.tr > PDR echo -e "${1} \c">>ROtest cat RO>>ROtest
评论
    相关推荐