Package com.opttek.optquest
Class COptQuestExponentialRandomVariable
java.lang.Object
com.opttek.optquest.COptQuestVariable
com.opttek.optquest.COptQuestUserControlledVariable
com.opttek.optquest.COptQuestExponentialRandomVariable
A random variable with an exponential distribution: the time between
events that occur at random at a constant average rate.
scale, which must be greater
than 0, is the mean time. The rate is 1 / scale.
The engine draws a new value at the start of every replication. The probability
distribution is COptQuestExponentialDistribution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCOptQuestExponentialRandomVariable(String name, double scale) Constructs a new exponential random variable with the specified name and scale parameter. -
Method Summary
Methods inherited from class com.opttek.optquest.COptQuestUserControlledVariable
GetReplicationStatistic, GetReplicationStatisticValue, SetExclusiveRange, SetLowerBound, SetReplicationStatistic, SetUpperBoundMethods inherited from class com.opttek.optquest.COptQuestVariable
equals, GetDOELowerBound, GetDOEUpperBound, GetExclusiveLowerBoundAt, GetExclusiveUpperBoundAt, getID, GetLowerBound, GetName, GetNumberOfExclusiveRanges, GetStepSize, GetSuggestedValue, GetUpperBound, getVarRange, hashCode, isZeroOne, SetName
-
Constructor Details
-
COptQuestExponentialRandomVariable
Constructs a new exponential random variable with the specified name and scale parameter.- Parameters:
name- the name/identifier of this random variable (used for reporting, logging, or display purposes)scale- the scale parameter of the exponential distribution (mean = scale, rate = 1/scale) must be positive (> 0)- Throws:
COptQuestException
-