1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/graph/random.hpp Wed Mar 31 12:27:01 2010 +0100
1.3 @@ -0,0 +1,72 @@
1.4 +/* boost random.hpp header file
1.5 + *
1.6 + * Copyright Jens Maurer 2000-2001
1.7 + * Distributed under the Boost Software License, Version 1.0. (See
1.8 + * accompanying file LICENSE_1_0.txt or copy at
1.9 + * http://www.boost.org/LICENSE_1_0.txt)
1.10 + *
1.11 + * See http://www.boost.org/libs/random for documentation.
1.12 + *
1.13 + * $Id: random.hpp,v 1.18 2004/07/27 03:43:27 dgregor Exp $
1.14 + *
1.15 + * Revision history
1.16 + * 2000-02-18 portability fixes (thanks to Beman Dawes)
1.17 + * 2000-02-21 shuffle_output, inversive_congruential_schrage,
1.18 + * generator_iterator, uniform_smallint
1.19 + * 2000-02-23 generic modulus arithmetic helper, removed *_schrage classes,
1.20 + * implemented Streamable and EqualityComparable concepts for
1.21 + * generators, added Bernoulli distribution and Box-Muller
1.22 + * transform
1.23 + * 2000-03-01 cauchy, lognormal, triangle distributions; fixed
1.24 + * uniform_smallint; renamed gaussian to normal distribution
1.25 + * 2000-03-05 implemented iterator syntax for distribution functions
1.26 + * 2000-04-21 removed some optimizations for better BCC/MSVC compatibility
1.27 + * 2000-05-10 adapted to BCC and MSVC
1.28 + * 2000-06-13 incorporated review results
1.29 + * 2000-07-06 moved basic templates from namespace detail to random
1.30 + * 2000-09-23 warning removals and int64 fixes (Ed Brey)
1.31 + * 2000-09-24 added lagged_fibonacci generator (Matthias Troyer)
1.32 + * 2001-02-18 moved to individual header files
1.33 + */
1.34 +
1.35 +#ifndef BOOST_RANDOM_HPP
1.36 +#define BOOST_RANDOM_HPP
1.37 +
1.38 +// generators
1.39 +#include <boost/random/linear_congruential.hpp>
1.40 +#include <boost/random/additive_combine.hpp>
1.41 +#include <boost/random/inversive_congruential.hpp>
1.42 +#include <boost/random/shuffle_output.hpp>
1.43 +#include <boost/random/mersenne_twister.hpp>
1.44 +#include <boost/random/lagged_fibonacci.hpp>
1.45 +#include <boost/random/ranlux.hpp>
1.46 +#include <boost/random/linear_feedback_shift.hpp>
1.47 +#include <boost/random/xor_combine.hpp>
1.48 +
1.49 +namespace boost {
1.50 + typedef random::xor_combine<random::xor_combine<random::linear_feedback_shift<uint32_t, 32, 31, 13, 12, 0>, 0,
1.51 + random::linear_feedback_shift<uint32_t, 32, 29, 2, 4, 0>, 0, 0>, 0,
1.52 + random::linear_feedback_shift<uint32_t, 32, 28, 3, 17, 0>, 0, 0> taus88;
1.53 +} // namespace boost
1.54 +
1.55 +// misc
1.56 +#include <boost/random/random_number_generator.hpp>
1.57 +
1.58 +// distributions
1.59 +#include <boost/random/uniform_smallint.hpp>
1.60 +#include <boost/random/uniform_int.hpp>
1.61 +#include <boost/random/uniform_01.hpp>
1.62 +#include <boost/random/uniform_real.hpp>
1.63 +#include <boost/random/triangle_distribution.hpp>
1.64 +#include <boost/random/bernoulli_distribution.hpp>
1.65 +#include <boost/random/cauchy_distribution.hpp>
1.66 +#include <boost/random/exponential_distribution.hpp>
1.67 +#include <boost/random/geometric_distribution.hpp>
1.68 +#include <boost/random/normal_distribution.hpp>
1.69 +#include <boost/random/lognormal_distribution.hpp>
1.70 +#include <boost/random/poisson_distribution.hpp>
1.71 +#include <boost/random/gamma_distribution.hpp>
1.72 +#include <boost/random/binomial_distribution.hpp>
1.73 +#include <boost/random/uniform_on_sphere.hpp>
1.74 +
1.75 +#endif // BOOST_RANDOM_HPP