On Thu, Jul 19, 2012 at 07:51:57PM -0700, Phil Steitz wrote: > On 7/19/12 7:16 PM, Ted Dunning wrote: > > One thing that should be considered is how a deterministic seed can be > > injected during testing to make tests deterministic. > > That is one reason to keep the reseed method that exists now. That > method provides a seed to the underlying PRNG. The "default" Gilles > chose above (which I think is fine - sorry for non-response) > generates a fixed sequence when started with a fixed seed.
No problem to keep the method, as syntactic sugar allowing to not keep a reference to the RNG that was passed to the constructor of the distribution. Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org