文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Control random number generator in NS2

Control random number generator in NS2

时间:2008-04-16  来源:zcwuwei

2007-10-10 19:22
Control the random number generation with ns-random command in your tcl script:

ns-random [integer]

if integer = 0 then everytime you run the script, it seeds the generator use current time. otherwise, it will produce deterministic results.

这个命令用来控制NS2产生随机数序列的方法,有些人做实验喜欢跑个百/千/万遍的,就用这个命令吧。shell脚本里来个while循环./ns xxx.tcl就可以了。
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载