NS2.34-setdest_Utility

所属分类:网络
开发工具:C/C++
文件大小:20KB
下载次数:18
上传日期:2010-07-16 05:29:10
上 传 者enemy8191
说明:  setdest utility source codes for NS2 v.2.34. By this utility you can create your mobility (movement) files and attach theme to your main simulation script.

文件列表:
.cvsignore (27, 2009-06-14)
addrmap-example (134, 2009-06-14)
calcdest.cc (17297, 2009-06-14)
emulate (1823, 2009-06-14)
gentracefiles (2247, 2009-06-14)
make-scen.csh (641, 2009-06-14)
make-scen-steadystate.csh (1183, 2009-06-14)
Makefile.in (3203, 2009-06-14)
setdest.cc (25519, 2009-06-14)
setdest.h (2351, 2009-06-14)
Makefile (3326, 2010-07-06)

# $Header: /cvsroot/nsnam/ns-2/indep-utils/cmu-scen-gen/setdest/README,v 1.4 2003/12/15 23:30:42 haldar Exp $ ********** README for using CMU's node-movement ************** ************** file generators ************ A.scenario or node-movement file generator --------------------------- Directory: ~ns/indep-utils/cmu-scen-gen/setdest Files: Makefile setdest.h setdest.cc make-scen.csh Steps for creating scenario files for mobility simulations : 1. Go to ns directory and run "configure" (you probably have done that already while building ns). This creates a makefile for setdest. 2.Go to indep-utils/cmu-scen-gen/setdest. Run "make" , which first creates a stand-alone object file for ~ns/rng.cc (the stand-alone version doesnot use Tclcl libs) and then creates the executable setdest. 3. Run setdest with arguments as shown below: ./setdest [-v version of setdest; 1 for original 1999 CMU version or 2 for modified 2003 U.Michigan version ] [-n num_of_nodes] [-p pausetime] [-s maxspeed] [-t simtime] [-x maxx] [-y maxy] > [outdir/movement-file] Example: ./setdest -v 1 -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test and the output will be written in a file called scen-20-test. 4a. OR run make-scen.csh to generate multiple scenario files.

近期下载者

相关文件


收藏者