Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move rng.{cpp,h} from core to rng/ topdir | lloyd | 2008-10-26 | 1 | -0/+8 |
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/ |