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
Methods in org.apache.commons.rng.sampling.distribution that return FastLoadedDiceRollerDiscreteSamplerModifier and TypeMethodDescriptionFastLoadedDiceRollerDiscreteSampler.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.abstract FastLoadedDiceRollerDiscreteSamplerFastLoadedDiceRollerDiscreteSampler.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.