Bernoulli.h File Reference
#include <shark/Rng/Rng.h>
#include <boost/random.hpp>
#include <cmath>

Go to the source code of this file.

Classes

class  shark::Bernoulli< RngType >
 This class simulates a "Bernoulli trial", which is like a coin toss. More...
 

Namespaces

 shark
 AbstractMultiObjectiveOptimizer.
 

Functions

template<typename RngType >
double shark::entropy (const Bernoulli< RngType > &coin)
 Returns the entropy of the bernoulli distribution. More...