Package jsl.utilities.random.rng
Interface RNStreamControlIfc
-
- All Known Subinterfaces:
MVRVariableIfc,RandomElementIfc,RandomIfc,RandomStreamManagerIfc,RElementIfc<T>,RListIfc<T>,RNStreamIfc,RVariableIfc
- All Known Implementing Classes:
AbstractMVRVariable,AbstractRVariable,AR1CorrelatedRNStream,AR1NormalRV,BernoulliRV,BetaRV,BinomialRV,BivariateLogNormal,BivariateLogNormalRV,BivariateNormal,BivariateNormalRV,Bootstrap,ChiSquaredRV,ConstantRV,DEmpiricalList,DEmpiricalRV,DPopulation,DUniformList,DUniformRV,EmpiricalRV,ExponentialRV,GammaRV,GeneralizedBetaRV,GeometricRV,Hyper2ExponentialRV,InverseCDFRV,JohnsonBRV,LaplaceRV,LogLogisticRV,LognormalRV,MetropolisHastings1D,MetropolisHastingsMV,MixtureRV,MultiBootstrap,NegativeBinomialRV,NHPPTimeBtwEventRV,NormalRV,NWayByChanceQObjectSender,NWayByChanceStationSender,PearsonType5RV,PearsonType6RV,PoissonRV,RandomElement,RandomList,RandomVariable,ResourcePool,ResourcePoolWithQ,RList,RNGStreamManager,RNStreamFactory.RNStream,RNStreamFactoryDepracated.RNStream,RNStreamMakerBU.RNStream,ShiftedGeometricRV,ShiftedRV,StudentTRV,TriangularRV,TruncatedRV,TwoStateMarkovChain,TwoWayByChanceQObjectSender,TwoWayByChanceStationSender,UniformRV,VConstantRV,WeibullRV
public interface RNStreamControlIfcControls the movement through a pseudo-random number stream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadvanceToNextSubstream()Positions the RNG at the beginning of its next substreambooleangetAntitheticOption()voidresetStartStream()The resetStartStream method will position the RNG at the beginning of its stream.voidresetStartSubstream()Resets the position of the RNG at the start of the current substreamvoidsetAntitheticOption(boolean flag)Tells the stream to start producing antithetic variates
-
-
-
Method Detail
-
resetStartStream
void resetStartStream()
The resetStartStream method will position the RNG at the beginning of its stream. This is the same location in the stream as assigned when the RNG was created and initialized.
-
resetStartSubstream
void resetStartSubstream()
Resets the position of the RNG at the start of the current substream
-
advanceToNextSubstream
void advanceToNextSubstream()
Positions the RNG at the beginning of its next substream
-
setAntitheticOption
void setAntitheticOption(boolean flag)
Tells the stream to start producing antithetic variates- Parameters:
flag- true means that it produces antithetic variates.
-
getAntitheticOption
boolean getAntitheticOption()
- Returns:
- true means on
-
-