Uses of Class
org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.AbstractDiscreteUniformSampler
-
Packages that use DiscreteUniformSampler.AbstractDiscreteUniformSampler Package Description org.apache.commons.rng.sampling.distribution 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.distribution Modifier and Type Class Description private static class
DiscreteUniformSampler.FixedDiscreteUniformSampler
Discrete uniform distribution sampler when the sample value is fixed.private static class
DiscreteUniformSampler.LargeRangeDiscreteUniformSampler
Discrete uniform distribution sampler when the range between lower and upper is too large to fit in a positive integer.private static class
DiscreteUniformSampler.OffsetDiscreteUniformSampler
Adds an offset to an underlying discrete sampler.private static class
DiscreteUniformSampler.PowerOf2RangeDiscreteUniformSampler
Discrete uniform distribution sampler when the range is a power of 2 and greater than 1.private static class
DiscreteUniformSampler.SmallRangeDiscreteUniformSampler
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.AbstractDiscreteUniformSampler Modifier and Type Method Description private static DiscreteUniformSampler.AbstractDiscreteUniformSampler
DiscreteUniformSampler. createZeroBoundedSampler(UniformRandomProvider rng, int upper)
Create a new sampler for the range0
inclusive toupper
inclusive.
-