1 /* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
17 typedef enum { NONE, DRAND48, RAND, RNGSTREAM } Generator;
19 typedef struct random_data_desc {
22 double mean, std; /* note: mean and standard deviation are normalized */
24 } s_random_data_t, *random_data_t;
26 XBT_PUBLIC_DATA(xbt_dict_t) random_data_list;
28 XBT_PUBLIC(double) random_generate(random_data_t random);
29 XBT_PUBLIC(random_data_t) random_new(Generator generator, long int seed,
30 double min, double max, double mean,
34 #endif /* _SURF_RMGR_H */