PoissonSamplersPerformance_Sources_jmhType_B1
public static class PoissonSamplersPerformance.Sources
extends java.lang.Object
DiscreteSampler
samplers to use for testing. Creates the sampler for each
RandomSource
in the default
RandomSources
.Constructor | Description |
---|---|
Sources() |
Modifier and Type | Method | Description |
---|---|---|
DiscreteSampler |
createSampler() |
Creates a new instance of the sampler.
|
org.apache.commons.rng.UniformRandomProvider |
getGenerator() |
|
DiscreteSampler |
getSampler() |
Gets the sampler.
|
void |
setup() |
Instantiates sampler.
|
public org.apache.commons.rng.UniformRandomProvider getGenerator()
public DiscreteSampler getSampler()
public void setup()
public DiscreteSampler createSampler()
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.