RiskSeed
Descripción
|
RiskSeed(random number generator type,seed value) specifies that an input will use its own random number generator of the specified type, and that it will be seeded with seed value. Seeding an individual input is useful when the same distribution is shared across models using the @RISK Library and a reproducible set of samples is desired para the input in every model.
|
Ejemplos
|
RiskBeta(10,2,RiskSeed(1,100)) specifies that the input RiskBeta(10,2) will use its own Mersenne Twister random number generator (type 1), and it will use the seed 100.
|
Reglas |
Input distributions that use RiskSeed always have their own reproducible stream of random numbers. The Initial Seed, set in the Simulation Settings Sampling tab, affects only the random numbers generated para input distributions that do not have an independent seed specified using the RiskSeed property function. The random number generator type is specified as value between 1 and 8, where 1=MersenneTwister, 2=MRG32k3a, 3=MWC, 4=KISS, 5=LFIB4, 6=SWB, 7=KISS_SWB, 8=RAN3I. For more inparamation on the available random number generators, see the Simulation Settings section of this manual. Seed value is an integer between 1 and 2,147,483,647. The RiskSeed function has no effect when an input is correlated with other inputs. |