newprot.results.tcl
来自「采用蚂蚁算法实现ad hoc网络路由协议,平台为ns2」· TCL 代码 · 共 40 行
TCL
40 行
source gatherresults.tclsource swarmsimulations.tclset metric_calculators {pdr}# Produce a separate series for each combination of the followingset seriesparameters { val(routingprotocol) val(simtime) }# Each series varies with theseset plotparameters { val(numnodes) }# Each data point is aggregated over these. duplicate runs are discarded.set runparameters { val(seed) val(scenario) }# The following are the values of the data points# These are aggregated over all values supplied.set measuredmetrics { pdr(tot) pdr(apprecv) pdr(cost) }set confidenceInterval 0.99set dataFileName "newprot.data"set plotFileName "newprot.plot"set glob "log/new*"gatherAndPlot
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?