Stochastic Profiles
A first version of a stochastic extension to resource profiles.
It currently can parse profiles of the following form:
STOCHASTIC
LAW1 PARAM1 PARAM2 LAW2 PARAM3
LAW3 PARAM3 LAW4 PARAM4 PARAM5
The first line can be changed to STOCHASTIC LOOP
if one needs to have new values drawn until the end of the simulation.
Example An example of such a profile is given below:
STOCHASTIC LOOP
DET 0 NORM 1 0.2
EXP 0.00005 DET 0
UNIF 10 20 DET 1
Note that the last UNIF
law, here, is only used to get the reset time.
The choice of the random number generator is done through commands in the simgrid::statmc::rng
domain, requiring the include of <simgrid/statmc.hpp>
.
Currently, the supported laws are Deterministic (one parameter), Exponential (one parameter), Uniform (between two double
, two parameters), and Normal (two parameters, mean and standard deviation).
Edited by Yann Duplouy