A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leak.
[simgrid.git]
/
include
/
xbt
/
random.hpp
diff --git
a/include/xbt/random.hpp
b/include/xbt/random.hpp
index
7326447
..
b1d8b14
100644
(file)
--- a/
include/xbt/random.hpp
+++ b/
include/xbt/random.hpp
@@
-6,13
+6,18
@@
#ifndef SIMGRID_XBT_RANDOM_HPP
#define SIMGRID_XBT_RANDOM_HPP
#ifndef SIMGRID_XBT_RANDOM_HPP
#define SIMGRID_XBT_RANDOM_HPP
-#include <random>
-
namespace simgrid {
namespace xbt {
namespace random {
namespace simgrid {
namespace xbt {
namespace random {
+
+void set_implem_xbt();
+void set_implem_std();
+void set_mersenne_seed(int);
+
int uniform_int(int, int);
double uniform_real(double, double);
int uniform_int(int, int);
double uniform_real(double, double);
+double exponential(double);
+double normal(double, double);
} // namespace random
} // namespace xbt
} // namespace simgrid
} // namespace random
} // namespace xbt
} // namespace simgrid