hi all,
 
i have some question, (sorry for silly questions, i'm new with ns):
1-why we need to set enviroment variables to execute ns?
 
2- for simulating, most of the time we run the following command:
 
ns examle.tcl
 
but in another protocol that the tcl file is, admr.tcl    ,   it's command to 
run is:
 
./ns scripts/run.tcl -x 1200 -y 800 -nn 100 -stop 900 -tr TRACES/out.tr -mg 
mcast_communication_scenarios/cbr_100_4x64_3x3x20_mcast_ns_rs -sc 
movement_scenarios/scen-1200x800-100-0-20-1 -rp admr > & TRACES/sim_stdoutput

 
why we didnt write something like :
ns admr.tcl
 
does run.tcl call admr.tcl?
 
by the way, what are the parameters of -x and -y? are them use for graph or are 
they detemining the x and y of the field we scatter the nodes?
 
 
 


      

Reply via email to