Class ZigguratSamplerPerformance.IndexSources
- java.lang.Object
-
- org.apache.commons.rng.examples.jmh.sampling.distribution.ZigguratSamplerPerformance.IndexSources
-
- Enclosing class:
- ZigguratSamplerPerformance
public static class ZigguratSamplerPerformance.IndexSources extends Object
Defines method to use for creatingintindex values from a random long.
-
-
Constructor Summary
Constructors Constructor Description IndexSources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscreteSamplergetSampler()voidsetup()Instantiates sampler.
-
-
-
Constructor Detail
-
IndexSources
public IndexSources()
-
-
Method Detail
-
getSampler
public DiscreteSampler getSampler()
- Returns:
- the sampler.
-
setup
public void setup()
Instantiates sampler.
-
-