org.jactr.core.module.random
Interface IRandomModule
- All Superinterfaces:
- IInitializable, IInstallable, IModule
- All Known Implementing Classes:
- DefaultRandomModule
public interface IRandomModule
- extends IModule
SEED_PARAM
static final java.lang.String SEED_PARAM
- See Also:
- Constant Field Values
RANDOM_TIME_PARAM
static final java.lang.String RANDOM_TIME_PARAM
- See Also:
- Constant Field Values
setSeed
void setSeed(long seedValue)
getSeed
long getSeed()
getGenerator
java.util.Random getGenerator()
logisticNoise
double logisticNoise(double s)
randomBoolean
boolean randomBoolean()
getTimeRandomizer
double getTimeRandomizer()
setTimeRandomizer
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))
- Parameters:
randomizer -
randomizedTime
double randomizedTime(double currentTime)