R
- Type of the sampler.SharedStateContinuousSampler
, SharedStateDiscreteSampler
AhrensDieterExponentialSampler
, AhrensDieterMarsagliaTsangGammaSampler
, AliasMethodDiscreteSampler
, BoxMullerNormalizedGaussianSampler
, ChengBetaSampler
, CollectionSampler
, CombinationSampler
, ContinuousUniformSampler
, DiscreteProbabilityCollectionSampler
, DiscreteUniformSampler
, GaussianSampler
, GuideTableDiscreteSampler
, InverseTransformContinuousSampler
, InverseTransformDiscreteSampler
, InverseTransformParetoSampler
, KempSmallMeanPoissonSampler
, LargeMeanPoissonSampler
, LogNormalSampler
, MarsagliaNormalizedGaussianSampler
, PermutationSampler
, PoissonSampler
, RejectionInversionZipfSampler
, SmallMeanPoissonSampler
, UnitSphereSampler
, ZigguratNormalizedGaussianSampler
public interface SharedStateSampler<R>
Modifier and Type | Method | Description |
---|---|---|
R |
withUniformRandomProvider(org.apache.commons.rng.UniformRandomProvider rng) |
Create a new instance of the sampler with the same underlying state using the given
uniform random provider as the source of randomness.
|
R withUniformRandomProvider(org.apache.commons.rng.UniformRandomProvider rng)
rng
- Generator of uniformly distributed random numbers.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.