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

Re: [ns] Seeding Random number



In general, this produces different results for different runs.

> if {$opt(seed) > 0} {
> 	puts "Seeding Random number generator with $opt(seed)\n"
> 	ns-random $opt(seed)
> }
> Thanks in advance,
> Ana
> 
> 
> ________________________________
> Ana Delgado
> Centre for Telecommunications Research
> King's College London
> London England
> [email protected]
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
>