Re: [ns] Performing several runs of same simulation

2006-07-14 Thread Tom Henderson


 Date: Mon, 10 Jul 2006 09:06:39 +0200
 From: [EMAIL PROTECTED]
 Subject: [ns] Performing several runs of same simulation
 To: ns-users@ISI.EDU
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1
 
 Hello,
 
 we try to perform several runs of the same simulation and can't find a hint in
 the manual how to manage this.
 Is there a possibility to do it by a for (; numberOfRuns;) or an other 
 tcl-method?
 Or should we simply write a shell script calling our tcl file several times?
 
 Thanks in advance
 Andreas Schwab
 
 
 

There are two external packages that you should look at for this (the 
first two at the below link).

http://nsnam.isi.edu/nsnam/index.php/Contributed_Code#Support

Tom



Re: [ns] Performing several runs of same simulation

2006-07-10 Thread Daniel Mahrenholz

[EMAIL PROTECTED] schrieb:
 we try to perform several runs of the same simulation and can't find a hint in
 the manual how to manage this.
 Is there a possibility to do it by a for (; numberOfRuns;) or an other 
 tcl-method?
 Or should we simply write a shell script calling our tcl file several times?
   
Just call your tcl script several times. But do not forget to initialize 
the random seeds to different values. Otherwise you will get the same 
results every time.

Daniel.