摘要:在theONE模拟器的toolkit文件夹个有一个名叫getStats.pl的脚本,可以完成数据的图表输出,但是使用起来要手动输入一大堆参数,而且生成的是直方图,看起来不是很直观。前天我花了一天时间学习perl,然后自己写了一个脚本,自动寻找当前目录的所有theONE的消息统计报告文件,然后将所有报告文件中的某一字段生成折线图。以下是文件的详细内容: 1#plot-reports.pl2#extractthestatisticdataofaspecificrouterofdifferentparametersandthenplotit3#2011.11.274use5.010;5useCwd&
阅读全文
摘要:以Dieselnet数据为例,使用toolkit目录下的转换脚本将其转换成ONE能够识别的格式。以下为示例配置文件:1Scenario.name=diesel_net2Scenario.simulateConnections=false34#Groupsettings5Scenario.nrofHostGroups=16Group.nrofHosts=237Group.nodeLocation=10,1089Group.movementModel=StationaryMovement10Group.nodeLocation=100,10011Group.bufferSize=150M12131
阅读全文
摘要:Table of Contents Compiling Running The ONE is a Opportunistic Network Environment simulator which provides a powerful tool for generating mobility traces, running DTN messaging simul...
阅读全文