Package | Description |
---|---|
desmoj.core.dist |
Distributions to model stochastic effects.
|
desmoj.core.simulator |
The core simulation infrastructure and basic components.
|
Modifier and Type | Class and Description |
---|---|
class |
LinearCongruentialRandomGenerator
Linear congruential random generator for uniformly distributed pseudo random
numbers configured such that a stream of [0,1] double values is produced.
|
class |
MersenneTwisterRandomGenerator
Mersenne twister uniform pseudo random generator configured such that a
stream of [0,1] double values is produced.
|
Modifier and Type | Method and Description |
---|---|
void |
Distribution.changeRandomGenerator(UniformRandomGenerator randomGenerator)
Changes the underlying random generator to the one given as a parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
DistributionManager.setRandomNumberGenerator(java.lang.Class<? extends UniformRandomGenerator> randomNumberGenerator)
Sets the underlying pseudo random number generator to be used by all
distributions created from now on.
|
Modifier and Type | Method and Description |
---|---|
void |
Experiment.setRandomNumberGenerator(java.lang.Class<? extends UniformRandomGenerator> randomNumberGenerator)
Sets the underlying pseudo random number generator to be used by all
distributions created from now on.
|