aGrUM  0.16.0
utils_random.cpp File Reference

Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr. More...

#include <chrono>
#include <agrum/agrum.h>
#include <agrum/core/utils_misc.h>
+ Include dependency graph for utils_random.cpp:

Go to the source code of this file.

Namespaces

 gum
 Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
 

Functions

unsigned int gum::randomGeneratorSeed ()
 Returns the aGrUM's seed used by the std::generators. More...
 
std::default_random_engine gum::getRandomGenerator (unsigned int seed=0)
 define a random_engine with correct seed More...
 

Detailed Description

Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library. If not, see http://www.gnu.org/licenses/.

Contains usefull methods for random stuff.

Author
Vincent RENAUDINEAU and Pierre-Henri WUILLEMIN

Definition in file utils_random.cpp.