Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move EntropySource base class to new entropy_src.h (which allows the ↵ | lloyd | 2008-10-26 | 1 | -8/+0 |
| | | | | | | implementations to decouple from knowing about RandomNumberGenerator). | ||||
* | Move rng.{cpp,h} from core to rng/ topdir | lloyd | 2008-10-26 | 1 | -0/+44 |
Add a new class AutoSeeded_RNG that is a RandomNumberGenerator that wraps up the logic formerly in RandomNumberGenerator::make_rng. make_rng in fact now just returns a new AutoSeeded_RNG object. AutoSeeded_RNG is a bit more convenient because - No need to use auto_ptr - No need to dereference (same syntax everywhere - it's an underestimated advantage imo) Also move the code from timer/timer_base to timer/ |