java.lang.Object
- All Implemented Interfaces:
Cloneable
,RandomVariableOps<GaussianIATimeRV>
,RandomVariableRVNOps<Long,
,GaussianIATimeRV> RandomVariableRVOps<Long,
GaussianIATimeRV>
Class to generate a sequence of Gaussian random variables, with the
values for each rounded to the nearest long integer to represent
interarrival times.
-
Constructor Summary
ConstructorsConstructorDescriptionGaussianIATimeRVRV
(DoubleRandomVariable meanRV, DoubleRandomVariable sdevRV) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected GaussianIATimeRV
doNext()
Get the next value for a random variable.Methods inherited from class org.bzdev.math.rv.LongRandomVariableRV
cmp, next, setMaximum, setMinimum, tightenMaximum, tightenMaximumS, tightenMinimum, tightenMinimumS
Methods inherited from class org.bzdev.math.rv.RandomVariableRVN
getMaximumClosed, getMaximumRV, getMinimumClosed, getMinimumRV
Methods inherited from class org.bzdev.math.rv.RandomVariableRV
determineIfOrdered, getCharacteristics, parallelStream, parallelStream, stream, stream
Methods inherited from class org.bzdev.math.rv.RandomVariable
clone, getMaximum, getMinimum, setMaximum, setMinimum, setRequiredMaximum, setRequiredMinimum, spliterator, spliterator, tightenMaximum, tightenMinimum
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bzdev.math.rv.RandomVariableOps
getMaximum, getMinimum, setMaximum, setMinimum, tightenMaximum, tightenMinimum
-
Constructor Details
-
GaussianIATimeRVRV
Constructor.- Parameters:
meanRV
- a random variable that determines the mean of the distribution for a Gaussian random variablesdevRV
- a random variable that determines the standard deviation of the distribution for a Gaussian random variable
-
-
Method Details
-
doNext
Description copied from class:RandomVariableRVN
Get the next value for a random variable. In general, each value will be independent of the last.- Specified by:
doNext
in classRandomVariableRVN<Long,
GaussianIATimeRV> - Returns:
- the next random variable
- Throws:
RandomVariableException
- the next random variable could not be generated.
-