Class PhiloxGenerationPerformance.Sources
- java.lang.Object
-
- org.apache.commons.rng.examples.jmh.core.PhiloxGenerationPerformance.Sources
-
- Enclosing class:
- PhiloxGenerationPerformance
public static class PhiloxGenerationPerformance.Sources extends Object
The benchmark state (retrieve the various "RandomSource"s).
-
-
Constructor Summary
Constructors Constructor Description Sources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.rng.UniformRandomProvidergetGenerator()Gets the generator.voidsetup()Instantiates generator.
-
-
-
Constructor Detail
-
Sources
public Sources()
-
-
Method Detail
-
getGenerator
public org.apache.commons.rng.UniformRandomProvider getGenerator()
Gets the generator.- Returns:
- the RNG.
-
setup
public void setup()
Instantiates generator. This need only be done once per set of iterations.
-
-