java.lang.Object
- All Implemented Interfaces:
Cloneable,RandomVariableOps<FixedBooleanRV>,RandomVariableRVOps<Boolean,FixedBooleanRV>
Random variable that generates a sequence of FixedBooleanRV random
variables.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bzdev.math.rv.BooleanRandomVariableRV
parallelStream, stream, tightenMaximumS, tightenMinimumSMethods inherited from class org.bzdev.math.rv.RandomVariableRV
determineIfOrdered, getCharacteristics, parallelStream, streamMethods inherited from class org.bzdev.math.rv.RandomVariable
getMaximum, getMaximumClosed, getMinimum, getMinimumClosed, setMaximum, setMinimum, setRequiredMaximum, setRequiredMinimum, spliterator, spliterator, tightenMaximum, tightenMinimumMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bzdev.math.rv.RandomVariableOps
getMaximum, getMaximumClosed, getMinimum, getMinimumClosed, setMaximum, setMinimum, tightenMaximum, tightenMinimum
-
Constructor Details
-
FixedBooleanRVRV
Constructor.- Parameters:
rv- the random variable used to provide the value for each FixedBooleanRV generated.- Throws:
RandomVariableException- the argument could not be cloned
-
-
Method Details
-
next
Description copied from class:RandomVariableGet the next value for a random variable. In general, each value will be independent of the last.- Specified by:
nextin interfaceRandomVariableOps<FixedBooleanRV>- Specified by:
nextin classBooleanRandomVariableRV<FixedBooleanRV>- Returns:
- the next value
-
clone
- Overrides:
clonein classRandomVariable<FixedBooleanRV>- Throws:
CloneNotSupportedException
-