Class TetrahedronSamplerBenchmark.SamplerData
- java.lang.Object
-
- org.apache.commons.rng.examples.jmh.sampling.shape.TetrahedronSamplerBenchmark.SamplerData
-
- Enclosing class:
- TetrahedronSamplerBenchmark
public static class TetrahedronSamplerBenchmark.SamplerData extends Object
Contains the sampler and the number of samples.
-
-
Constructor Summary
Constructors Constructor Description SamplerData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectSampler<double[]>
getSampler()
Gets the sampler.int
getSize()
Gets the size.void
setup()
Create the source of randomness and the sampler.
-
-
-
Constructor Detail
-
SamplerData
public SamplerData()
-
-
Method Detail
-
getSize
public int getSize()
Gets the size.- Returns:
- the size
-
getSampler
public ObjectSampler<double[]> getSampler()
Gets the sampler.- Returns:
- the sampler
-
setup
public void setup()
Create the source of randomness and the sampler.
-
-