[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: randomizing the simulation
You can use the command 'ns-random' to set random seeds for your
simulation. ('ns-random 0' chooses from a predefined set of "good" seeds,
'ns-random n' chooses n as random seed.)
Alternatively, if you create RNGs yourself, it has a OTcl
method which allows you to set random seed (see rng.cc).
- Haobo
On Fri, 26 Feb 1999, Arnold P. Siboro wrote:
>
> I get exactly the same trace results from my simulation.
> How to put "life" into my simulation, so I can get different
> trace results from the same simulation? Perhaps by changing
> some seed number upon which ns relies to perform the simulation.
>
> I will appreaciate any explanation, or pointer to a place in
> ns doc or source codes where I can get explanation.
>
> -- Arnold
>
>
>