Closed snirgaz closed 5 years ago
Is it possible to store (to a string/file etc.) and later load the RNG state in order to resume the random stream?
Yes, you can easily store the RNG state by saving the fields of a RNG object. And when loading, you can just assign the fields back to a new object to restore the state.
Thanks!
Is it possible to store (to a string/file etc.) and later load the RNG state in order to resume the random stream?