|
Boost Users : |
Subject: Re: [Boost-users] [Random] Good Truly-Random Seed
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2010-04-21 19:08:13
Dear peterbarnabus,
> In many cases it is sufficient to use the time
That's not enough for me.
> If you are running your program many times and need a new
> seed each time, then another strategy could be to save the
> state of your random generator when you have finished and
> use that state to initialise your program for the next run.
This might do. I need to check.
> If this is no good, you need hardware random number
> generators, of which there are many. You could also have a
> look at random.org.
Interesting website but that's not available as a piece of software usable directly on every machine. The application I am writing currently needs to be a standalone program runnable on every Windows.
Cheers,
--Hossein
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