X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5916c12ba9de33f917b5b2f85dd953da50d8477a..4676d5e57abd98702608661750274226eb48e20e:/src/include/surf/random_mgr.h diff --git a/src/include/surf/random_mgr.h b/src/include/surf/random_mgr.h index b261a59343..55ff757741 100644 --- a/src/include/surf/random_mgr.h +++ b/src/include/surf/random_mgr.h @@ -1,3 +1,9 @@ +/* Copyright (c) 2007, 2008, 2009, 2010. 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. */ + #ifndef _SURF_RMGR_H #define _SURF_RMGR_H @@ -8,14 +14,14 @@ 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; @@ -25,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 */