[ns] changing seed
Utente ns2
utente_ns2 at hotmail.com
Thu Jan 12 11:14:33 PST 2006
Hi everybody.
I need to repeat N times the same scenario but changing the seed.
I tried to put in my .tcl script
set rng [new RNG]
$rng seed <integer number>
changing <integer numer> for every simulation, but the average delay I
measured is always the same. On the contrary I am sure that should change,
since the backoff times of my mobile nodes should change.
The other solution could be modifying the 6 values 12345 in double
RNG::next_seed_[6] in the file rng.cc?????
Please give me some suggestions.
Thank you in advance.
_________________________________________________________________
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
YupiMSN Compras: http://latam.msn.com/compras/
More information about the Ns-users
mailing list