2012-06-13 15:41:15 +00:00
|
|
|
#ifndef SPROUT_RANDOM_DEFAULT_RANDOM_ENGINE_HPP
|
|
|
|
#define SPROUT_RANDOM_DEFAULT_RANDOM_ENGINE_HPP
|
|
|
|
|
|
|
|
#include <sprout/config.hpp>
|
|
|
|
#include <sprout/random/linear_congruential.hpp>
|
|
|
|
|
|
|
|
namespace sprout {
|
|
|
|
namespace random {
|
|
|
|
//
|
|
|
|
// default_random_engine
|
|
|
|
//
|
|
|
|
typedef sprout::random::minstd_rand0 default_random_engine;
|
2013-03-22 05:24:19 +00:00
|
|
|
} // namespace random
|
2012-06-13 15:41:15 +00:00
|
|
|
|
|
|
|
using sprout::random::default_random_engine;
|
2013-03-22 05:24:19 +00:00
|
|
|
} // namespace sprout
|
2012-06-13 15:41:15 +00:00
|
|
|
|
2013-03-22 05:24:19 +00:00
|
|
|
#endif // #ifndef SPROUT_RANDOM_DEFAULT_RANDOM_ENGINE_HPP
|