SharedStateDiscreteSampler |
PoissonSamplerCache.createSharedStateSampler(UniformRandomProvider rng,
double mean) |
Creates a new Poisson sampler.
|
static SharedStateDiscreteSampler |
AliasMethodDiscreteSampler.of(UniformRandomProvider rng,
double[] probabilities) |
Creates a sampler.
|
static SharedStateDiscreteSampler |
AliasMethodDiscreteSampler.of(UniformRandomProvider rng,
double[] probabilities,
int alpha) |
Creates a sampler.
|
static SharedStateDiscreteSampler |
DiscreteUniformSampler.of(UniformRandomProvider rng,
int lower,
int upper) |
Creates a new discrete uniform distribution sampler.
|
static SharedStateDiscreteSampler |
GeometricSampler.of(UniformRandomProvider rng,
double probabilityOfSuccess) |
Creates a new geometric distribution sampler.
|
static SharedStateDiscreteSampler |
GuideTableDiscreteSampler.of(UniformRandomProvider rng,
double[] probabilities) |
Create a new sampler for an enumerated distribution using the given probabilities .
|
static SharedStateDiscreteSampler |
GuideTableDiscreteSampler.of(UniformRandomProvider rng,
double[] probabilities,
double alpha) |
Create a new sampler for an enumerated distribution using the given probabilities .
|
static SharedStateDiscreteSampler |
InverseTransformDiscreteSampler.of(UniformRandomProvider rng,
DiscreteInverseCumulativeProbabilityFunction function) |
Create a new inverse-transform discrete sampler.
|
static SharedStateDiscreteSampler |
KempSmallMeanPoissonSampler.of(UniformRandomProvider rng,
double mean) |
Creates a new sampler for the Poisson distribution.
|
static SharedStateDiscreteSampler |
LargeMeanPoissonSampler.of(UniformRandomProvider rng,
double mean) |
Creates a new Poisson distribution sampler.
|
static SharedStateDiscreteSampler |
MarsagliaTsangWangDiscreteSampler.Binomial.of(UniformRandomProvider rng,
int trials,
double probabilityOfSuccess) |
Creates a sampler for the Binomial distribution.
|
static SharedStateDiscreteSampler |
MarsagliaTsangWangDiscreteSampler.Enumerated.of(UniformRandomProvider rng,
double[] probabilities) |
Creates a sampler for an enumerated distribution of n values each with an
associated probability.
|
static SharedStateDiscreteSampler |
MarsagliaTsangWangDiscreteSampler.Poisson.of(UniformRandomProvider rng,
double mean) |
Creates a sampler for the Poisson distribution.
|
static SharedStateDiscreteSampler |
PoissonSampler.of(UniformRandomProvider rng,
double mean) |
Creates a new Poisson distribution sampler.
|
static SharedStateDiscreteSampler |
RejectionInversionZipfSampler.of(UniformRandomProvider rng,
int numberOfElements,
double exponent) |
Creates a new Zipf distribution sampler.
|
static SharedStateDiscreteSampler |
SmallMeanPoissonSampler.of(UniformRandomProvider rng,
double mean) |
Creates a new sampler for the Poisson distribution.
|
SharedStateDiscreteSampler |
AliasMethodDiscreteSampler.withUniformRandomProvider(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.
|
SharedStateDiscreteSampler |
DiscreteUniformSampler.withUniformRandomProvider(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.
|
SharedStateDiscreteSampler |
GuideTableDiscreteSampler.withUniformRandomProvider(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.
|
SharedStateDiscreteSampler |
InverseTransformDiscreteSampler.withUniformRandomProvider(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.
|
SharedStateDiscreteSampler |
KempSmallMeanPoissonSampler.withUniformRandomProvider(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.
|
SharedStateDiscreteSampler |
LargeMeanPoissonSampler.withUniformRandomProvider(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.
|
SharedStateDiscreteSampler |
PoissonSampler.withUniformRandomProvider(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.
|
SharedStateDiscreteSampler |
RejectionInversionZipfSampler.withUniformRandomProvider(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.
|
SharedStateDiscreteSampler |
SmallMeanPoissonSampler.withUniformRandomProvider(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.
|