Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some more cleanups for tomorrow marked as FIXME for now -- good night
[simgrid.git] / src / include / surf / random_mgr.h
index 3a75dd4..55ff757 100644 (file)
 
 SG_BEGIN_DECL()
 
-     typedef enum { NONE, DRAND48, RAND } Generator;
+typedef enum { NONE, DRAND48, RAND, RNGSTREAM } Generator;
 
-     typedef struct random_data_desc {
-       long int seed;
-       double max, min;
-       double mean, std;        /* note: mean and standard deviation are normalized */
-       Generator generator;
-     } s_random_data_t, *random_data_t;
+typedef struct random_data_desc {
+  long int seed;
+  double max, min;
+  double mean, std;             /* note: mean and standard deviation are normalized */
+  Generator generator;
+} s_random_data_t, *random_data_t;
 
 XBT_PUBLIC_DATA(xbt_dict_t) random_data_list;
 
@@ -31,4 +31,4 @@ XBT_PUBLIC(random_data_t) random_new(Generator generator, long int seed,
                                      double stdDeviation);
 
 SG_END_DECL()
-#endif /* _SURF_RMGR_H */
+#endif                          /* _SURF_RMGR_H */