public interface IRandomModule extends IModule
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RANDOM_TIME_PARAM |
static java.lang.String |
SEED_PARAM |
Modifier and Type | Method and Description |
---|---|
java.util.Random |
getGenerator() |
long |
getSeed() |
double |
getTimeRandomizer() |
double |
logisticNoise(double s) |
boolean |
randomBoolean() |
double |
randomizedTime(double currentTime) |
void |
setSeed(long seedValue) |
void |
setTimeRandomizer(double randomizer)
sets the seed for the time randomizer which will randomize
the requested time across the equal distribution [time*((randomizer-1)/randomizer), time*((randomizer+1)/randomizer))
|
dispose, getModel, getName, initialize, install, reset
uninstall
getAdapter
static final java.lang.String SEED_PARAM
static final java.lang.String RANDOM_TIME_PARAM
void setSeed(long seedValue)
long getSeed()
java.util.Random getGenerator()
double logisticNoise(double s)
boolean randomBoolean()
double getTimeRandomizer()
void setTimeRandomizer(double randomizer)
randomizer
- double randomizedTime(double currentTime)