Vcsn  2.3
Be Rational
random.hh File Reference
#include <iterator>
#include <random>
#include <vcsn/misc/export.hh>
Include dependency graph for random.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vcsn::discrete_chooser< RandomGenerator >
 Random selector on container, using discrete distribution. More...
 
struct  vcsn::random_selector< RandomGenerator >
 Random selector on container, using uniform distribution. More...
 

Namespaces

 vcsn
 

Functions

std::mt19937 & vcsn::make_random_engine ()
 Generate a unique random device. More...
 
template<typename RandomGenerator >
random_selector< RandomGenerator > vcsn::make_random_selector (RandomGenerator &g)