烂笔头胜过好记性,所以留帖备忘。 listing of Agents option listing for node-config API Table 5.1: Available options for node configuration P.51 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22344/showart_1663472.html
by frost.wrath - 网络技术文档中心 - 2008-11-24 17:09:35 阅读(896) 回复(0)
ns2 教學手冊 ( ns2 Learning Guide) I will get my PhD degree soon. So I am looking for a research or teaching job now. If anyone has some information, please let me know. [My works] Installation。 (windows + cygwin + ns-2.27) 中文 English Video (cygwin + myns2 )。 (請不要再參考中文版的安裝說明,因為若是目前使用網路下載安裝cygwin的方式,會使得ns2無法成功的安裝) TCL Intro...
cbr set interval_ 0.005 设置时间间隔 $cbr set random_1 设置噪声 改变无线网络中 802.11 的能量状态 # Pt_ = 8.5872e-4; // For 40m transmission range. # Pt_ = 7.214e-3; // For 100m transmission range. # Pt_ = 0.2818; // For 250m transmission range. # Pt_ = pow(10, 2.45) * 1e-3; // 24.5 dbm, ~ 281.8mw Phy/WirelessPhy set Pt_ 8.5872e-4 (1)移动场景的建立 使用命令:./ setdest -n 10 -p 0 -M 10 -t 500 -x ...
ns学习 ns学习笔记 1、tcl只支持一种数据结构:字符串(string)。所有的命令、命令的所有参数、命令的结果、所有的变量都是字符串。 基本语法为: command arg1 arg2 arg3... 2、# 是注释符号 3、tcl中通过空白字符分段表示不同的字符串,而使用花括号或双引号来把多个字符串组合在一起形成一个字符串。 两种组合的区别仅仅在于双引号内允许进行替代,而花括号内不会进行替代。 example:...
# Define options set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy ;# network interface type set val(mac) Mac/802_11 ;# MAC type set val(ifq) Queue/DropTail/PriQueue ;# interface queue type set val(ll) ...
# wrls1.tcl # A 3-node example for ad-hoc simulation with DSDV # Define options set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy ;# network interface type set val(mac) Mac/802_11 ;# MAC type set val(ifq) Queue/DropT...
set ns [new Simulator] #define different colors for data flows(for nam) ns color 1 Blue ns color 2 Red #open the trace file set tracefile1 [open out.tr w] set winfile [open WiinFile w] $ns trace-all $tracefile1 #open the nam trace file set namfile [open out.nam w] $ns namtrace-all $namfile #define a 'finish' procedure proc finish {} { global ns tracefile1 namfile $ns flush-trace close ...