[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

randomness



(Yes, really, randomness.  Nothing to do with the ballot.)

There should be a clearly defined way in which one can create a
random-state which has a "consistent" state;  that is, from which one
will get the same sequence of random numbers.  Saving a copy of
*random-state* is not sufficient, because then one has to depend on
being able to get the same one in what might be different debugging
sessions.

One possibility is to allow make-random-state to be given a seed (an
integer? integer or float?), and having it defined to use that seed in
such a way that the random-state will always be the same for the given
implementation when given the same seed.