Boost logo

Boost Users :

Subject: Re: [Boost-users] seed for pseudiorandom generator
From: Júlio Hoffimann (julio.hoffimann_at_[hidden])
Date: 2012-08-26 13:48:32


Understood, but this is just an initial value for the pseudo-random
sequence, right? Why are you trying to choose a "better" initial value? It
doesn't matter as long as it's different every time you start your program.
(static variable)

That's the point of a random generator, there is no formula or guess for
the seed, unless you want intentionally reproduce some output for debug
purposes.

Regards,
Júlio.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net