Package com.opttek.optquest
Class COptQuestPoissonRandomVariable
java.lang.Object
com.opttek.optquest.COptQuestVariable
com.opttek.optquest.COptQuestUserControlledVariable
com.opttek.optquest.COptQuestPoissonRandomVariable
A random variable with a Poisson distribution: the number of events in a
fixed interval, when the events occur at random at an average rate of
lambda for each
interval. lambda must be greater than 0. The value is a whole number, and its mean and
its variance are both lambda.
The engine draws a new value at the start of every replication. The probability
distribution is COptQuestPoissonDistribution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCOptQuestPoissonRandomVariable(String name, double lambda) Constructs a new Poisson random variable with the specified name and rate 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
-
COptQuestPoissonRandomVariable
Constructs a new Poisson random variable with the specified name and rate parameter.- Parameters:
name- the name/identifier of this random variable (used for reporting, logging, or display purposes)lambda- the rate parameter (expected number of events, λ > 0)- Throws:
COptQuestException
-