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, tightenMinimumS
Methods inherited from class org.bzdev.math.rv.RandomVariableRV
determineIfOrdered, getCharacteristics, parallelStream, stream
Methods inherited from class org.bzdev.math.rv.RandomVariable
getMaximum, getMaximumClosed, getMinimum, getMinimumClosed, 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, 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:RandomVariable
Get the next value for a random variable. In general, each value will be independent of the last.- Specified by:
next
in interfaceRandomVariableOps<FixedBooleanRV>
- Specified by:
next
in classBooleanRandomVariableRV<FixedBooleanRV>
- Returns:
- the next value
-
clone
- Overrides:
clone
in classRandomVariable<FixedBooleanRV>
- Throws:
CloneNotSupportedException
-