You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2017/12/08 00:28:43 UTC
[3/3] commons-rng git commit: Benchmarks (user guide).
Benchmarks (user guide).
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/5b88619b
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/5b88619b
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/5b88619b
Branch: refs/heads/master
Commit: 5b88619b732e0d556e61a48b8fbb8d628bf16ea8
Parents: 3cec661
Author: Gilles <er...@apache.org>
Authored: Thu Dec 7 18:07:37 2017 +0100
Committer: Gilles <er...@apache.org>
Committed: Thu Dec 7 18:07:37 2017 +0100
----------------------------------------------------------------------
src/site/apt/userguide/rng.apt | 71 +++++++++++++++++++------------------
1 file changed, 36 insertions(+), 35 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/5b88619b/src/site/apt/userguide/rng.apt
----------------------------------------------------------------------
diff --git a/src/site/apt/userguide/rng.apt b/src/site/apt/userguide/rng.apt
index f46bb5b..6451ad6 100644
--- a/src/site/apt/userguide/rng.apt
+++ b/src/site/apt/userguide/rng.apt
@@ -577,41 +577,42 @@ String word = sampler.sample().get(0);
| WELL_44497_B | 1.03380 |
*--------------------------*----------------+
- ** Comparing <<<MarsagliaNormalizedGaussianSampler>>> with <<<java.util.Random>>>
-
-*--------------------------*----------------+
-|| RNG identifier || Score (normalized to the score of {{{https://docs.oracle.com/javase/8/docs/api/java/util/Random.html#nextGaussian--}nextGaussian()}} method) |
-*--------------------------*----------------+
-| SPLIT_MIX_64 | 0.30320 |
-*--------------------------*----------------+
-| XOR_SHIFT_1024_S | 0.31566 |
-*--------------------------*----------------+
-| TWO_CMRES | 0.35477 |
-*--------------------------*----------------+
-| MWC_256 | 0.36204 |
-*--------------------------*----------------+
-| MT_64 | 0.37767 |
-*--------------------------*----------------+
-| ISAAC | 0.42038 |
-*--------------------------*----------------+
-| KISS | 0.42985 |
-*--------------------------*----------------+
-| MT | 0.44593 |
-*--------------------------*----------------+
-| WELL_512_A | 0.50492 |
-*--------------------------*----------------+
-| WELL_1024_A | 0.53313 |
-*--------------------------*----------------+
-| WELL_19937_A | 0.60641 |
-*--------------------------*----------------+
-| WELL_19937_C | 0.63817 |
-*--------------------------*----------------+
-| WELL_44497_A | 0.64607 |
-*--------------------------*----------------+
-| JDK | 0.64854 |
-*--------------------------*----------------+
-| WELL_44497_B | 0.67046 |
-*--------------------------*----------------+
+ ** Comparing {{{../commons-rng-sampling/apidocs/org/apache/commons/rng/sampling/distribution/BoxMullerNormalizedGaussianSampler.html}BoxMullerNormalizedGaussianSampler}}, {{{../commons-rng-sampling/apidocs/org/apache/commons/rng/sampling/distribution/MarsagliaNormalizedGaussianSampler.html}MarsagliaNormalizedGaussianSampler}}, {{{../commons-rng-sampling/apidocs/org/apache/commons/rng/sampling/distribution/ZigguratNormalizedGaussianSampler.html}ZigguratNormalizedGaussianSampler}}.
+ Each score is normalized to the score of {{{https://docs.oracle.com/javase/8/docs/api/java/util/Random.html#nextGaussian--}nextGaussian()}} method of <<<java.util.Random>>>.
+
+*--------------------------*----------------+----------------+----------------+
+|| RNG identifier || <<<BoxMullerNormalizedGaussianSampler>>> || <<<MarsagliaNormalizedGaussianSampler>>> || <<<ZigguratNormalizedGaussianSampler>>> |
+*--------------------------*----------------+----------------+----------------+
+| ISAAC | 0.96494 | 0.41090 | 0.11707 |
+*--------------------------*----------------+----------------+----------------+
+| JDK | 1.04037 | 0.65917 | 0.14461 |
+*--------------------------*----------------+----------------+----------------+
+| KISS | 0.93580 | 0.41354 | 0.12162 |
+*--------------------------*----------------+----------------+----------------+
+| MT | 0.95563 | 0.43966 | 0.12944 |
+*--------------------------*----------------+----------------+----------------+
+| MT_64 | 0.85963 | 0.37269 | 0.14390 |
+*--------------------------*----------------+----------------+----------------+
+| MWC_256 | 0.90648 | 0.34902 | 0.09656 |
+*--------------------------*----------------+----------------+----------------+
+| SPLIT_MIX_64 | 0.82831 | 0.29894 | 0.10303 |
+*--------------------------*----------------+----------------+----------------+
+| TWO_CMRES | 0.84886 | 0.35546 | 0.11496 |
+*--------------------------*----------------+----------------+----------------+
+| WELL_1024_A | 1.00718 | 0.52266 | 0.15347 |
+*--------------------------*----------------+----------------+----------------+
+| WELL_19937_A | 1.06638 | 0.61714 | 0.17292 |
+*--------------------------*----------------+----------------+----------------+
+| WELL_19937_C | 1.09771 | 0.61585 | 0.18022 |
+*--------------------------*----------------+----------------+----------------+
+| WELL_44497_A | 1.10244 | 0.62584 | 0.16854 |
+*--------------------------*----------------+----------------+----------------+
+| WELL_44497_B | 1.10634 | 0.65012 | 0.18699 |
+*--------------------------*----------------+----------------+----------------+
+| WELL_512_A | 0.99513 | 0.50448 | 0.15273 |
+*--------------------------*----------------+----------------+----------------+
+| XOR_SHIFT_1024_S | 0.84066 | 0.30669 | 0.11498 |
+*--------------------------*----------------+----------------+----------------+
5. Quality