sl@0: /* boost random.hpp header file sl@0: * sl@0: * Copyright Jens Maurer 2000-2001 sl@0: * Distributed under the Boost Software License, Version 1.0. (See sl@0: * accompanying file LICENSE_1_0.txt or copy at sl@0: * http://www.boost.org/LICENSE_1_0.txt) sl@0: * sl@0: * See http://www.boost.org/libs/random for documentation. sl@0: * sl@0: * $Id: random.hpp,v 1.18 2004/07/27 03:43:27 dgregor Exp $ sl@0: * sl@0: * Revision history sl@0: * 2000-02-18 portability fixes (thanks to Beman Dawes) sl@0: * 2000-02-21 shuffle_output, inversive_congruential_schrage, sl@0: * generator_iterator, uniform_smallint sl@0: * 2000-02-23 generic modulus arithmetic helper, removed *_schrage classes, sl@0: * implemented Streamable and EqualityComparable concepts for sl@0: * generators, added Bernoulli distribution and Box-Muller sl@0: * transform sl@0: * 2000-03-01 cauchy, lognormal, triangle distributions; fixed sl@0: * uniform_smallint; renamed gaussian to normal distribution sl@0: * 2000-03-05 implemented iterator syntax for distribution functions sl@0: * 2000-04-21 removed some optimizations for better BCC/MSVC compatibility sl@0: * 2000-05-10 adapted to BCC and MSVC sl@0: * 2000-06-13 incorporated review results sl@0: * 2000-07-06 moved basic templates from namespace detail to random sl@0: * 2000-09-23 warning removals and int64 fixes (Ed Brey) sl@0: * 2000-09-24 added lagged_fibonacci generator (Matthias Troyer) sl@0: * 2001-02-18 moved to individual header files sl@0: */ sl@0: sl@0: #ifndef BOOST_RANDOM_HPP sl@0: #define BOOST_RANDOM_HPP sl@0: sl@0: // generators sl@0: #include <boost/random/linear_congruential.hpp> sl@0: #include <boost/random/additive_combine.hpp> sl@0: #include <boost/random/inversive_congruential.hpp> sl@0: #include <boost/random/shuffle_output.hpp> sl@0: #include <boost/random/mersenne_twister.hpp> sl@0: #include <boost/random/lagged_fibonacci.hpp> sl@0: #include <boost/random/ranlux.hpp> sl@0: #include <boost/random/linear_feedback_shift.hpp> sl@0: #include <boost/random/xor_combine.hpp> sl@0: sl@0: namespace boost { sl@0: typedef random::xor_combine<random::xor_combine<random::linear_feedback_shift<uint32_t, 32, 31, 13, 12, 0>, 0, sl@0: random::linear_feedback_shift<uint32_t, 32, 29, 2, 4, 0>, 0, 0>, 0, sl@0: random::linear_feedback_shift<uint32_t, 32, 28, 3, 17, 0>, 0, 0> taus88; sl@0: } // namespace boost sl@0: sl@0: // misc sl@0: #include <boost/random/random_number_generator.hpp> sl@0: sl@0: // distributions sl@0: #include <boost/random/uniform_smallint.hpp> sl@0: #include <boost/random/uniform_int.hpp> sl@0: #include <boost/random/uniform_01.hpp> sl@0: #include <boost/random/uniform_real.hpp> sl@0: #include <boost/random/triangle_distribution.hpp> sl@0: #include <boost/random/bernoulli_distribution.hpp> sl@0: #include <boost/random/cauchy_distribution.hpp> sl@0: #include <boost/random/exponential_distribution.hpp> sl@0: #include <boost/random/geometric_distribution.hpp> sl@0: #include <boost/random/normal_distribution.hpp> sl@0: #include <boost/random/lognormal_distribution.hpp> sl@0: #include <boost/random/poisson_distribution.hpp> sl@0: #include <boost/random/gamma_distribution.hpp> sl@0: #include <boost/random/binomial_distribution.hpp> sl@0: #include <boost/random/uniform_on_sphere.hpp> sl@0: sl@0: #endif // BOOST_RANDOM_HPP