Re: Retrieve state of random number generator?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Retrieve state of random number generator?

Joseph Turian
In case anyone is interested, I believe the correct solution is to use the
<< and >> operators to read and write state.

Joseph

On 1/5/06, Joseph Turian <[hidden email]> wrote:

> Is it possible to retrieve the state of any of the random number generator?
>
> I would like to save it, in case the program crashes, such that on the next
> execution it can restart wherever it left off.
>
> Thanks,
>
>     Joseph
>
> --
> http://www.cs.nyu.edu/~turian/


--
http://www.cs.nyu.edu/~turian/

_______________________________________________
Boost-users mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-users