Uses of Interface
org.apache.commons.rng.sampling.ObjectSampler
Packages that use ObjectSampler
Package
Description
This package provides sampling utilities.
This package contains classes for sampling from statistical distributions.
This package contains classes for sampling coordinates from shapes, for example a unit ball.
-
Uses of ObjectSampler in org.apache.commons.rng.sampling
Subinterfaces of ObjectSampler in org.apache.commons.rng.samplingModifier and TypeInterfaceDescriptioninterface
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.Classes in org.apache.commons.rng.sampling that implement ObjectSamplerModifier and TypeClassDescriptionclass
Sampling from aCollection
.class
Class for representing combinations of a sequence of integers.private static class
A composite object sampler.private static class
A composite object sampler with shared state support.class
Sampling from a collection of items with user-defined probabilities.class
Class for representing permutations of a sequence of integers.class
Generate vectors isotropically located on the surface of a sphere.private static class
Sample uniformly from the ends of a 1D unit line.private static class
Sample uniformly from a 2D unit circle.private static class
Sample uniformly from a 3D unit sphere.private static class
Sample uniformly from a ND unit sphere.Methods in org.apache.commons.rng.sampling that return ObjectSamplerModifier and TypeMethodDescriptionCompositeSamplers.ObjectSamplerFactory.createSampler
(DiscreteSampler discreteSampler, List<ObjectSampler<T>> samplers) Methods in org.apache.commons.rng.sampling that return types with arguments of type ObjectSamplerModifier and TypeMethodDescriptionstatic <T> CompositeSamplers.Builder
<ObjectSampler<T>> CompositeSamplers.newObjectSamplerBuilder()
Create a new builder for a compositeObjectSampler
.Method parameters in org.apache.commons.rng.sampling with type arguments of type ObjectSamplerModifier and TypeMethodDescriptionCompositeSamplers.ObjectSamplerFactory.createSampler
(DiscreteSampler discreteSampler, List<ObjectSampler<T>> samplers) Constructor parameters in org.apache.commons.rng.sampling with type arguments of type ObjectSamplerModifierConstructorDescription(package private)
CompositeObjectSampler
(DiscreteSampler discreteSampler, List<ObjectSampler<T>> samplers) -
Uses of ObjectSampler in org.apache.commons.rng.sampling.distribution
Classes in org.apache.commons.rng.sampling.distribution that implement ObjectSamplerModifier and TypeClassDescriptionclass
Sampling from a Dirichlet distribution.private static final class
Sample from a Dirichlet distribution with different concentration parameters for each category.private static final class
Sample from a symmetric Dirichlet distribution with the same concentration parameter for each category. -
Uses of ObjectSampler in org.apache.commons.rng.sampling.shape
Classes in org.apache.commons.rng.sampling.shape that implement ObjectSamplerModifier and TypeClassDescriptionclass
Generate points uniformly distributed within a n-dimension box (hyperrectangle).private static class
Sample uniformly from a box in 2D.private static class
Sample uniformly from a box in 3D.private static class
Sample uniformly from a box in ND.class
Generate points uniformly distributed on a line.private static class
Sample uniformly from a line in 1D.private static class
Sample uniformly from a line in 2D.private static class
Sample uniformly from a line in 3D.private static class
Sample uniformly from a line in ND.class
Generate points uniformly distributed within a tetrahedron.class
Generate points uniformly distributed within a triangle.private static class
Sample uniformly from a triangle in 2D.private static class
Sample uniformly from a triangle in 3D.private static class
Sample uniformly from a triangle in ND.class
Generate coordinates uniformly distributed within the unit n-ball.private static class
Sample uniformly from a 1D unit line.private static class
Sample uniformly from a 2D unit disk.private static class
Sample uniformly from a 3D unit ball.private static class
Sample using ball point picking.