1 /* Copyright (c) 2019. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef SIMGRID_XBT_RANDOM_HPP
7 #define SIMGRID_XBT_RANDOM_HPP
14 enum xbt_random_method { XBT_RNG_xbt, XBT_RNG_std };
18 int uniform_int(int, int);
19 int xbt_uniform_int(int, int);
20 double uniform_real(double, double);
21 double xbt_uniform_real(double, double);
22 double exponential(double);
23 double xbt_exponential(double);
24 double normal(double, double);
25 double xbt_normal(double, double);
26 void set_mersenne_seed(int);
29 } // namespace simgrid