Uses of Class
org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.AbstractDiscreteUniformSampler
Packages that use DiscreteUniformSampler.AbstractDiscreteUniformSampler
Package
Description
This package contains classes for sampling from statistical distributions.
-
Uses of DiscreteUniformSampler.AbstractDiscreteUniformSampler in org.apache.commons.rng.sampling.distribution
Subclasses of DiscreteUniformSampler.AbstractDiscreteUniformSampler in org.apache.commons.rng.sampling.distributionModifier and TypeClassDescriptionprivate static final class
Discrete uniform distribution sampler when the sample value is fixed.private static final class
Discrete uniform distribution sampler when the range between lower and upper is too large to fit in a positive integer.private static final class
Adds an offset to an underlying discrete sampler.private static final class
Discrete uniform distribution sampler when the range is a power of 2 and greater than 1.private static final class
Discrete uniform distribution sampler when the range is small enough to fit in a positive integer.Methods in org.apache.commons.rng.sampling.distribution that return DiscreteUniformSampler.AbstractDiscreteUniformSamplerModifier and TypeMethodDescriptionprivate static DiscreteUniformSampler.AbstractDiscreteUniformSampler
DiscreteUniformSampler.createZeroBoundedSampler
(UniformRandomProvider rng, int upper) Create a new sampler for the range0
inclusive toupper
inclusive.