[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: random??
Sir
Really appreciate your help, but I have a question about that I didn't
find any explain in NS-Note & Docu then where can I find that description
about that ns-random. In my simualtion I have no random variables so I have no
way to attach rng on it. I don't know what the RNG is made up while start up,
is it deterministic or heuristic?
thanks your help
regards
Robert
Haobo Yu wrote:
> You can set different random seeds when start up. Try:
>
> ns-random 0
>
> Or you can new RNGs yourself, connect these RNGs to your random
> variables, and seed the RNGs differently using its "seed" otcl binding.
> See rng.cc
>
> - Haobo
>
> On Thu, 17 Feb 2000, CWen56 wrote:
>
> > Hi! Gentlemen !
> > I have a topology of a TCP/FTP link with fixed error rate. But how
> > could I do to get different results while doing the same simulation?
> > because I always get the same packet losses < even the same sequence
> > number>. I can't understand where should I use random number generator.
> > May someone give me a hint? I also got confised about set_seed(). Is
> > it used in c++ or tcl?
> >
> > regards
> > Robert
> >
> >