[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: random??



You can set different random seeds when start up. Try:

ns-random 0 

Or you can new RNGs yourself, connect these RNGs to your random
variables, and seed the RNGs differently using its "seed" otcl binding.
See rng.cc

- Haobo

On Thu, 17 Feb 2000, CWen56 wrote:

> Hi!  Gentlemen !
>     I have a topology of  a TCP/FTP link with fixed error rate. But how
> could I do to get different results while doing the same simulation?
> because I always get the same packet losses < even the same sequence
> number>. I can't understand where should I use random number generator.
>     May someone give me a hint? I also got confised about set_seed(). Is
> it used in c++ or tcl?
> 
> regards
> Robert
> 
>