Class ZigguratSamplerPerformance.SingleSources
- java.lang.Object
-
- org.apache.commons.rng.examples.jmh.sampling.distribution.ZigguratSamplerPerformance.Sources
-
- org.apache.commons.rng.examples.jmh.sampling.distribution.ZigguratSamplerPerformance.SingleSources
-
- Enclosing class:
- ZigguratSamplerPerformance
public static class ZigguratSamplerPerformance.SingleSources extends ZigguratSamplerPerformance.Sources
The samplers to use for testing the ziggurat method with single sample generation. Defines the RandomSource and the sampler type.
-
-
Constructor Summary
Constructors Constructor Description SingleSources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContinuousSamplergetSampler()voidsetup()Instantiates sampler.-
Methods inherited from class org.apache.commons.rng.examples.jmh.sampling.distribution.ZigguratSamplerPerformance.Sources
createSampler
-
-
-
-
Constructor Detail
-
SingleSources
public SingleSources()
-
-
Method Detail
-
getSampler
public ContinuousSampler getSampler()
- Returns:
- the sampler.
-
setup
public void setup()
Instantiates sampler.
-
-