Re: Random Seed
Lalith Suresh <[email protected]> Fri, 13 Jul 2012 13:10:57 +0200
| Newsgroups | gmane.network.routing.click |
|---|---|
| Message-ID | <CAOj7qWZHwigwwt5ruRTdYZgX6q4E5-OkqdDNOOeOAsPD6s5C1Q@mail.gmail.com> |
On Fri, Jul 13, 2012 at 12:59 PM, <[email protected]> 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 > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click -- Lalith Suresh www.lalith.in