Class TetrahedronSamplerBenchmark
- java.lang.Object
-
- org.apache.commons.rng.examples.jmh.sampling.shape.TetrahedronSamplerBenchmark
-
public class TetrahedronSamplerBenchmark extends Object
Executes benchmark to compare the speed of generating samples within a tetrahedron.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTetrahedronSamplerBenchmark.SamplerDataContains the sampler and the number of samples.
-
Constructor Summary
Constructors Constructor Description TetrahedronSamplerBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsample(org.openjdk.jmh.infra.Blackhole bh, TetrahedronSamplerBenchmark.SamplerData data)Run the sampler for the configured number of samples.
-
-
-
Constructor Detail
-
TetrahedronSamplerBenchmark
public TetrahedronSamplerBenchmark()
-
-
Method Detail
-
sample
public void sample(org.openjdk.jmh.infra.Blackhole bh, TetrahedronSamplerBenchmark.SamplerData data)
Run the sampler for the configured number of samples.- Parameters:
bh- Data sinkdata- Input data.
-
-