Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / include / xbt / random.hpp
1 /* Copyright (c) 2019-2020. The SimGrid Team. All rights reserved.               */
2
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. */
5
6 #ifndef SIMGRID_XBT_RANDOM_HPP
7 #define SIMGRID_XBT_RANDOM_HPP
8
9 namespace simgrid {
10 namespace xbt {
11 namespace random {
12
13 void set_implem_xbt();
14 void set_implem_std();
15 void set_mersenne_seed(int);
16
17 int uniform_int(int, int);
18 double uniform_real(double, double);
19 double exponential(double);
20 double normal(double, double);
21 } // namespace random
22 } // namespace xbt
23 } // namespace simgrid
24
25 #endif