Idx randomValue(const Size max=2)
Returns a random Idx between 0 and max-1 included.
double randomProba()
Returns a random double between 0 and 1 included (i.e.
gum is the global namespace for all aGrUM entities
unsigned int randomGeneratorSeed()
Returns the aGrUM's seed used by the std::generators.
void initRandom(unsigned int seed=0)
Initialize random generator seed.
Size Idx
Type for indexes.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Contains usefull methods for random stuff.