nsclick | 12 Jul 2012 18:49
Picon
Picon

Random Seed

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.

Thanks,

Thomas
Lalith Suresh | 13 Jul 2012 11:13
Picon
Gravatar

Re: Random Seed

Hi,

On Thu, Jul 12, 2012 at 6:49 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?

> Thanks,
>
> Thomas
> _______________________________________________
> click mailing list
> click <at> amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click

--

-- 
Lalith Suresh
www.lalith.in
nsclick | 13 Jul 2012 12:59
Picon
Picon

Re: Random Seed

> > 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?
Lalith Suresh | 13 Jul 2012 13:10
Picon
Gravatar

Re: Random Seed

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)


Gmane