Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] asks for std::forward.
[simgrid.git] / include / xbt / random.hpp
index 12a9fe9b7c5c3e84a877f4cb78a6fa1901cc320e..4c3eff5d37bfdc9f0ff79ac82052ac000b8baeaf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2019. The SimGrid Team. All rights reserved.               */
+/* Copyright (c) 2019-2020. The SimGrid Team. All rights reserved.               */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -6,24 +6,18 @@
 #ifndef SIMGRID_XBT_RANDOM_HPP
 #define SIMGRID_XBT_RANDOM_HPP
 
-#include <random>
-
 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