Skip to content

Stochastic Profiles

Yann Duplouy requested to merge pikachuyann/simgrid:stoprofiles into master

A first version of a stochastic extension to resource profiles.

It can currently 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.

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

Merge request reports