摘要: set val(chan) Channel/WirelessChannel ;#Channel Typeset val(prop) Propagation/TwoRayGround ;# radio-propagation modelset val(netif) Phy/WirelessPhy ;# 阅读全文
posted @ 2019-07-13 09:52 fastchargingpikachu 阅读(292) 评论(0) 推荐(0) 编辑
摘要: set ns [new Simulator] set tracef [open example1.tr w]$ns trace-all $tracefset namtf [open example1.nam w]$ns namtrace-all $namtf proc finish {} {//括号 阅读全文
posted @ 2019-07-12 15:39 fastchargingpikachu 阅读(328) 评论(0) 推荐(0) 编辑
摘要: https://www.linuxidc.com/Linux/2017-03/141504.htm 环境变量改为: export PATH=$PATH:/home/zgh/Desktop/ns-allinone-2.35/bin:/home/zgh/Desktop/ns-allinone-2.35/ 阅读全文
posted @ 2019-07-11 16:37 fastchargingpikachu 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 注意第16行处理方式。 阅读全文
posted @ 2019-06-30 14:44 fastchargingpikachu 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 4和2的最大公约数是2呀 阅读全文
posted @ 2019-06-30 14:19 fastchargingpikachu 阅读(1027) 评论(0) 推荐(0) 编辑
摘要: 第15行,这样就会报错。 阅读全文
posted @ 2019-06-30 13:56 fastchargingpikachu 阅读(601) 评论(0) 推荐(0) 编辑