Re: Random Seed
Lalith Suresh <suresh.lalith <at> gmail.com>
2012-07-13 11:10:57 GMT
On Fri, Jul 13, 2012 at 12:59 PM, <nsclick <at> gmx.de> wrote:
>> > 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.
>
Yes, and if these elements pull random numbers from ns-3, you'll have
this guarantee of reproducibility.
> Any ideas?
> _______________________________________________
> click mailing list
> click <at> amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
--
--
(Continue reading)