Package | Description |
---|---|
org.apache.commons.rng.sampling |
Samplers
|
org.apache.commons.rng.sampling.distribution |
Distribution samplers
|
Modifier and Type | Class | Description |
---|---|---|
class |
CollectionSampler<T> |
Sampling from a
Collection . |
class |
CombinationSampler |
Class for representing combinations
of a sequence of integers.
|
class |
DiscreteProbabilityCollectionSampler<T> |
Sampling from a collection of items with user-defined
probabilities.
|
class |
PermutationSampler |
Class for representing permutations
of a sequence of integers.
|
class |
UnitSphereSampler |
Generate vectors
isotropically located on the surface of a sphere.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
SharedStateContinuousSampler |
Sampler that generates values of type
double and can create new instances to sample
from the same state with a given source of randomness. |
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 |
AhrensDieterExponentialSampler |
Sampling from an exponential distribution.
|
class |
AhrensDieterMarsagliaTsangGammaSampler |
Sampling from the gamma distribution.
|
class |
AliasMethodDiscreteSampler |
Distribution sampler that uses the Alias method.
|
class |
BoxMullerNormalizedGaussianSampler |
Box-Muller algorithm for sampling from Gaussian distribution with
mean 0 and standard deviation 1.
|
class |
ChengBetaSampler |
Sampling from a beta distribution.
|
class |
ContinuousUniformSampler |
Sampling from a uniform distribution.
|
class |
DiscreteUniformSampler |
Discrete uniform distribution sampler.
|
class |
GaussianSampler |
Sampling from a Gaussian distribution with given mean and
standard deviation.
|
class |
GuideTableDiscreteSampler |
Compute a sample from
n values each with an associated probability. |
class |
InverseTransformContinuousSampler |
Distribution sampler that uses the
inversion method.
|
class |
InverseTransformDiscreteSampler |
Distribution sampler that uses the
inversion method.
|
class |
InverseTransformParetoSampler |
Sampling from a Pareto distribution.
|
class |
KempSmallMeanPoissonSampler |
Sampler for the Poisson
distribution.
|
class |
LargeMeanPoissonSampler |
Sampler for the Poisson distribution.
|
class |
LogNormalSampler |
Sampling from a log-normal distribution.
|
class |
MarsagliaNormalizedGaussianSampler |
Marsaglia polar method for sampling from a Gaussian distribution
with mean 0 and standard deviation 1.
|
class |
PoissonSampler |
Sampler for the Poisson distribution.
|
class |
RejectionInversionZipfSampler |
Implementation of the Zipf distribution.
|
class |
SmallMeanPoissonSampler |
Sampler for the Poisson distribution.
|
class |
ZigguratNormalizedGaussianSampler |
Marsaglia and Tsang "Ziggurat" method for sampling from a Gaussian
distribution with mean 0 and standard deviation 1.
|
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.