Package com.opttek.optquest
Class COptQuestWeibullRandomVariable
java.lang.Object
com.opttek.optquest.COptQuestVariable
com.opttek.optquest.COptQuestUserControlledVariable
com.opttek.optquest.COptQuestWeibullRandomVariable
A random variable with a Weibull distribution, in its minimum extreme value
form. Its value is positive, and it is often used for a time to failure.
shape and
scale must both be greater than 0:
- With
shapeless than 1, the failure rate decreases with time. - With
shape= 1, the failure rate is constant, and the distribution is the exponential distribution with the meanscale. - With
shapegreater than 1, the failure rate increases with time.
The engine draws a new value at the start of every replication. The probability
distribution is COptQuestWeibullDistribution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCOptQuestWeibullRandomVariable(String name, double shape, double scale) Constructs a new Weibull random variable with the specified name, shape, and scale parameters. -
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
-
COptQuestWeibullRandomVariable
public COptQuestWeibullRandomVariable(String name, double shape, double scale) throws COptQuestException Constructs a new Weibull random variable with the specified name, shape, and scale parameters.- Parameters:
name- the name/identifier of this random variable (used for reporting, logging, or display purposes)shape- the shape parameter (k or β) of the Weibull distribution (> 0)scale- the scale parameter (λ or α) of the Weibull distribution (> 0)- Throws:
COptQuestException
-