Package | Description |
---|---|
org.apache.commons.rng.examples.jmh.sampling.distribution |
Benchmarks for the
org.apache.commons.rng.sampling.distribution components. |
org.apache.commons.rng.examples.jmh.sampling.distribution.generated |
Class | Description |
---|---|
AliasMethodDiscreteSamplerPerformance |
Executes benchmark to test the
AliasMethodDiscreteSampler using different
zero padding on the input probability distribution. |
AliasMethodDiscreteSamplerPerformance.DistributionData |
The discrete probability distribution and a sampler.
|
ContinuousSamplersPerformance |
Executes benchmark to compare the speed of generation of random numbers
from the various source providers for different types of
ContinuousSampler . |
ContinuousSamplersPerformance.Sources |
The
ContinuousSampler samplers to use for testing. |
DiscreteSamplersPerformance |
Executes benchmark to compare the speed of generation of random numbers
from the various source providers for different types of
DiscreteSampler . |
DiscreteSamplersPerformance.Sources |
The
DiscreteSampler samplers to use for testing. |
DiscreteUniformSamplerGenerationPerformance |
Executes benchmark to compare the speed of generation of integer numbers in a positive range
using the
DiscreteUniformSampler or UniformRandomProvider.nextInt(int) . |
DiscreteUniformSamplerGenerationPerformance.IntRange |
The upper range for the
int generation. |
DiscreteUniformSamplerGenerationPerformance.Sources |
The benchmark state (retrieve the various "RandomSource"s).
|
EnumeratedDistributionSamplersPerformance |
Executes benchmark to compare the speed of generation of random numbers from an enumerated
discrete probability distribution.
|
EnumeratedDistributionSamplersPerformance.KnownDistributionSources |
Define known probability distributions for testing.
|
EnumeratedDistributionSamplersPerformance.LocalRandomSources |
The random sources to use for testing.
|
EnumeratedDistributionSamplersPerformance.RandomDistributionSources |
Define random probability distributions of known size for testing.
|
EnumeratedDistributionSamplersPerformance.SamplerSources |
The
DiscreteSampler samplers to use for testing. |
GeometricSamplersPerformance |
Executes a benchmark to compare the speed of generation of Geometric random numbers
using different methods.
|
GeometricSamplersPerformance.Sources |
The samplers's to use for testing.
|
NextGaussianPerformance |
Benchmark for
Random.nextGaussian() in order to compare
the speed of generation of normally-distributed random numbers. |
PoissonSamplerCachePerformance |
Executes benchmark to compare the speed of generation of Poisson random numbers when using a
cache.
|
PoissonSamplerCachePerformance.MeanRange |
The range of mean values for testing the cache.
|
PoissonSamplerCachePerformance.Sources |
The benchmark state (retrieve the various "RandomSource"s).
|
PoissonSamplersPerformance |
Executes benchmark to compare the speed of generation of Poisson distributed random numbers.
|
PoissonSamplersPerformance.Means |
The mean for the call to
Math.exp(double) . |
PoissonSamplersPerformance.Sources |
The
DiscreteSampler samplers to use for testing. |
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.