X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17b1ceac50e719326453d85b33d0a43c6e98bbba..c16e65422f592e372f48297d0536b23b7a01d351:/include/xbt/random.hpp diff --git a/include/xbt/random.hpp b/include/xbt/random.hpp index 12a9fe9b7c..b1d8b1461a 100644 --- a/include/xbt/random.hpp +++ b/include/xbt/random.hpp @@ -6,24 +6,18 @@ #ifndef SIMGRID_XBT_RANDOM_HPP #define SIMGRID_XBT_RANDOM_HPP -#include - namespace simgrid { namespace xbt { namespace random { -enum xbt_random_method { XBT_RNG_xbt, XBT_RNG_std }; -void use_xbt(); -void use_std(); +void set_implem_xbt(); +void set_implem_std(); +void set_mersenne_seed(int); + int uniform_int(int, int); -int xbt_uniform_int(int, int); double uniform_real(double, double); -double xbt_uniform_real(double, double); double exponential(double); -double xbt_exponential(double); double normal(double, double); -double xbt_normal(double, double); -void set_mersenne_seed(int); } // namespace random } // namespace xbt } // namespace simgrid