[Click] Random Seed

nsclick at gmx.de nsclick at gmx.de
Fri Jul 13 06:59:32 EDT 2012


> > Hello,
> >
> > I'm asking myself if there is a chance to set a seed value for
> ns3-click-simulations. The ns3-part is under control, but how can I make the click
> random values to be the same on each different simulation run. I tried the
> element "RandomSeed()" to configure a seed value, but this doesn't work.
> > I want to have click simulations that will output exactly the same after
> each run.
> >
> 
> Sascha posted a patch last week to this list that allows Click to tap
> into ns-3's RNG. Why don't you give it a spin and let us know if it
> works for you?

If I got it right the patch is to get random numbers from ns3 inside click for use in own click elements.
My problem is that I use a lot of standard elements and I think that some of these elements use random stuff inside and I want to force them to do exactly the same on each run.

Any ideas?


More information about the click mailing list