aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
utils_random_tpl.h File Reference

Contains useful methods for random stuff. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gum
 gum is the global namespace for all aGrUM entities

Functions

template<typename GENERATOR>
INLINE Idx gum::randomValue (GENERATOR &generator, const Size max)
template<typename GUM_SCALAR>
std::vector< GUM_SCALAR > gum::randomDistribution (Size n)
 Return a random discrete distribution.

Detailed Description

Contains useful methods for random stuff.

Author
Vincent RENAUDINEAU and Pierre-Henri WUILLEMIN(_at_LIP6)

Definition in file utils_random_tpl.h.