Uses of Class
org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
Packages that use FastLoadedDiceRollerDiscreteSampler
Package
Description
This package contains classes for sampling from statistical distributions.
-
Uses of FastLoadedDiceRollerDiscreteSampler in org.apache.commons.rng.sampling.distribution
Modifier and TypeClassDescriptionprivate static final class
Class to handle the edge case of observations in only one category.private static final class
Class to implement the FLDR sample algorithm.Methods in org.apache.commons.rng.sampling.distribution that return FastLoadedDiceRollerDiscreteSamplerModifier and TypeMethodDescriptionprivate static FastLoadedDiceRollerDiscreteSampler
FastLoadedDiceRollerDiscreteSampler.createSampler
(UniformRandomProvider rng, long[] frequencies, int[] offsets, int[] indices, BigInteger m) Creates the sampler.private static FastLoadedDiceRollerDiscreteSampler
FastLoadedDiceRollerDiscreteSampler.createSampler
(UniformRandomProvider rng, long[] frequencies, int[] indices, long m) Creates the sampler.FastLoadedDiceRollerDiscreteSampler.of
(UniformRandomProvider rng, double[] weights) Creates a sampler.FastLoadedDiceRollerDiscreteSampler.of
(UniformRandomProvider rng, double[] weights, int alpha) Creates a sampler.FastLoadedDiceRollerDiscreteSampler.of
(UniformRandomProvider rng, long[] frequencies) Creates a sampler.FastLoadedDiceRollerDiscreteSampler.FixedValueDiscreteSampler.withUniformRandomProvider
(UniformRandomProvider rng) FastLoadedDiceRollerDiscreteSampler.FLDRSampler.withUniformRandomProvider
(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.abstract FastLoadedDiceRollerDiscreteSampler
FastLoadedDiceRollerDiscreteSampler.withUniformRandomProvider
(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.