[ns] random number not really random in my script [SOLVED]
Luqman
luqman_ngs at gmx.net
Fri Jan 12 01:20:15 PST 2007
hi all,
for the sake of completion.
> Luqman wanted us to know:
>
>Though errors are inserted in the received packets these errors occur at
>the same place during every run of simulation.
>
>I think this is not intended so. Random variable should contain
>different numbers every time random function is called.
After reading up in the ns-manual while searching for "random" and
"seed", I found that "ns-ransom 0" choses the seed at run time whereas
otherwise a static seed was being used.
Hope this helps others with same questions.
Regards,
--
Luqman
More information about the Ns-users
mailing list