aGrUM  0.14.2
utils_random_inl.h File Reference

Contains useful methods for random stuff. More...

+ Include dependency graph for utils_random_inl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gum
 gum is the global namespace for all aGrUM entities
 

Functions

Idx gum::randomValue (const Size max=2)
 Returns a random Idx between 0 and max-1 included. More...
 
double gum::randomProba ()
 Returns a random double between 0 and 1 included (i.e. More...
 
void gum::initRandom (unsigned int seed=0)
 Initialize random generator seed. More...
 

Detailed Description

Contains useful methods for random stuff.

Author
Vincent RENAUDINEAU and Pierre-Henri WUILLEMIN

Definition in file utils_random_inl.h.