#include <shark/Rng/Rng.h>
#include <boost/random.hpp>
#include <boost/math/special_functions.hpp>
#include <boost/random/binomial_distribution.hpp>
#include <cmath>
Go to the source code of this file.
Classes | |
class | shark::Binomial< RngType > |
Models a binomial distribution with parameters p and n. More... | |
Namespaces | |
shark | |
AbstractMultiObjectiveOptimizer. | |
Functions | |
template<class RngType > | |
unsigned int | shark::binomial (RngType &rng, unsigned int n, double pHeads) |
Returns a random number from Binomial(n,p) by drawing random numbers from rng. More... | |