[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Random Number Generator
Hi,
I am trying to generate random number to use it
as traffic starting time between 30 to 40 sec.
I used following ...
set rng [new RNG]
$rng seed 0
$rng uniform 30.0 40.0
$ns at $rng "$cbr0 start"
However, It not seems to work. The traffic seems to
be generated earlier than 30.0., and Please let me
know if there is a way that I can check this value.
I would appreciate for any advice.
Thanks.
======================================
Yi, Sungwon
Have a wonderful day!
======================================