Package | Description |
---|---|
org.apache.commons.rng.sampling.distribution |
Distribution samplers
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
SharedStateDiscreteSampler |
Sampler that generates values of type
int and can create new instances to sample
from the same state with a given source of randomness. |
Modifier and Type | Class | Description |
---|---|---|
class |
AliasMethodDiscreteSampler |
Distribution sampler that uses the Alias method.
|
class |
DiscreteUniformSampler |
Discrete uniform distribution sampler.
|
class |
GuideTableDiscreteSampler |
Compute a sample from
n values each with an associated probability. |
class |
InverseTransformDiscreteSampler |
Distribution sampler that uses the
inversion method.
|
class |
KempSmallMeanPoissonSampler |
Sampler for the Poisson
distribution.
|
class |
LargeMeanPoissonSampler |
Sampler for the Poisson distribution.
|
class |
PoissonSampler |
Sampler for the Poisson distribution.
|
class |
RejectionInversionZipfSampler |
Implementation of the Zipf distribution.
|
class |
SmallMeanPoissonSampler |
Sampler for the Poisson distribution.
|
Modifier and Type | Method | Description |
---|---|---|
DiscreteSampler |
PoissonSamplerCache.createPoissonSampler(org.apache.commons.rng.UniformRandomProvider rng,
double mean) |
Creates a new Poisson sampler.
|
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.