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 | Method and Description |
---|---|
static <T> CompositeSamplers.Builder<ObjectSampler<T>> |
CompositeSamplers.newObjectSamplerBuilder()
Create a new builder for a composite
ObjectSampler . |
Modifier and Type | Class and Description |
---|---|
class |
DirichletSampler
Sampling from a Dirichlet
distribution.
|
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.