DiscreteUniform.h File Reference
#include <shark/Rng/Rng.h>
#include <boost/random.hpp>
#include <algorithm>
#include <cmath>
#include <limits>

Go to the source code of this file.

Classes

class  shark::DiscreteUniform< RngType >
 Implements the discrete uniform distribution. More...
 

Namespaces

 shark
 AbstractMultiObjectiveOptimizer.
 

Functions

template<class RngType >
std::size_t shark::discrete (RngType &rng, std::size_t low, std::size_t high)
 Draws a discrete number in {low,low+1,...,high} by drawing random numbers from rng. More...