Class NextDoubleGenerationPerformance.Sources
- java.lang.Object
-
- org.apache.commons.rng.examples.jmh.core.BaselineSources
-
- org.apache.commons.rng.examples.jmh.core.NextDoubleGenerationPerformance.Sources
-
- Enclosing class:
- NextDoubleGenerationPerformance
public static class NextDoubleGenerationPerformance.Sources extends BaselineSources
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 protected org.apache.commons.rng.UniformRandomProvidercreateBaseline()Creates the baselineUniformRandomProvider.-
Methods inherited from class org.apache.commons.rng.examples.jmh.core.BaselineSources
getGenerator, setup
-
-
-
-
Constructor Detail
-
Sources
public Sources()
-
-
Method Detail
-
createBaseline
protected org.apache.commons.rng.UniformRandomProvider createBaseline()
Creates the baselineUniformRandomProvider.This should implement the method(s) that will be tested. The speed of this RNG is expected to create a baseline against which all other generators will be compared.
- Specified by:
createBaselinein classBaselineSources- Returns:
- the baseline RNG.
-
-