Package | Description |
---|---|
org.apache.commons.rng.sampling |
This package provides sampling utilities.
|
org.apache.commons.rng.sampling.distribution |
This package contains classes for sampling from statistical distributions.
|
org.apache.commons.rng.sampling.shape |
This package contains classes for sampling coordinates from shapes, for example a unit ball.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SharedStateObjectSampler<T>
Sampler that generates values of a specified type and can create new instances to sample
from the same state with a given source of randomness.
|
Modifier and Type | Class and 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 and 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. |
interface |
SharedStateLongSampler
Sampler that generates values of type
long and can create new instances to sample
from the same state with a given source of randomness. |
Modifier and Type | Class and 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 |
DirichletSampler
Sampling from a Dirichlet
distribution.
|
class |
DiscreteUniformSampler
Discrete uniform distribution sampler.
|
class |
FastLoadedDiceRollerDiscreteSampler
Distribution sampler that uses the Fast Loaded Dice Roller (FLDR).
|
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 |
LevySampler
Sampling from a Lévy 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 |
StableSampler
Samples from a stable distribution.
|
class |
TSampler
Sampling from a T distribution.
|
class |
UniformLongSampler
Discrete uniform distribution sampler generating values of type
long . |
class |
ZigguratNormalizedGaussianSampler
Marsaglia and Tsang "Ziggurat" method for sampling from a Gaussian
distribution with mean 0 and standard deviation 1.
|
class |
ZigguratSampler
Modified ziggurat method for sampling from Gaussian and exponential distributions.
|
static class |
ZigguratSampler.Exponential
Modified ziggurat method for sampling from an exponential distribution.
|
static class |
ZigguratSampler.NormalizedGaussian
Modified ziggurat method for sampling from a Gaussian distribution with
mean 0 and standard deviation 1.
|
Modifier and Type | Class and Description |
---|---|
class |
BoxSampler
Generate points uniformly distributed within a n-dimension box (hyperrectangle).
|
class |
LineSampler
Generate points uniformly distributed on a line.
|
class |
TetrahedronSampler
Generate points uniformly distributed within a
tetrahedron.
|
class |
TriangleSampler
Generate points
uniformly distributed within a triangle.
|
class |
UnitBallSampler
Generate coordinates
uniformly distributed within the unit n-ball.
|
Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.