You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/05/17 19:34:23 UTC

[commons-rng] branch master updated (94e6aa5 -> 44111d3)

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git.


    from 94e6aa5  Fixing sonar code issues and updated deprecated generator.
     add 5d41c69  RNG-91: Added a KempSmallMeanPoissonSampler
     new c756170  Merge branch 'feature-RNG-91'
     new 44111d3  RNG-91: Track changes.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../distribution/PoissonSamplersPerformance.java   | 1078 ++++++++++++++++++++
 .../distribution/KempSmallMeanPoissonSampler.java  |  117 +++
 .../distribution/DiscreteSamplersList.java         |    3 +
 .../KempSmallMeanPoissonSamplerTest.java           |  199 ++++
 src/changes/changes.xml                            |    5 +
 5 files changed, 1402 insertions(+)
 create mode 100644 commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/distribution/PoissonSamplersPerformance.java
 create mode 100644 commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/KempSmallMeanPoissonSampler.java
 create mode 100644 commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/KempSmallMeanPoissonSamplerTest.java


[commons-rng] 01/02: Merge branch 'feature-RNG-91'

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git

commit c7561700ebef163a3a9a2865f40b9748b78c2b8e
Merge: 94e6aa5 5d41c69
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri May 17 20:28:49 2019 +0100

    Merge branch 'feature-RNG-91'

 .../distribution/PoissonSamplersPerformance.java   | 1078 ++++++++++++++++++++
 .../distribution/KempSmallMeanPoissonSampler.java  |  117 +++
 .../distribution/DiscreteSamplersList.java         |    3 +
 .../KempSmallMeanPoissonSamplerTest.java           |  199 ++++
 4 files changed, 1397 insertions(+)


[commons-rng] 02/02: RNG-91: Track changes.

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git

commit 44111d3bcd06d02249652b4e9b3d3ccf579d87cb
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri May 17 20:34:19 2019 +0100

    RNG-91: Track changes.
    
    Close #40
---
 src/changes/changes.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index f754aae..870a849 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -75,6 +75,11 @@ re-run tests that fail, and pass the build if they succeed
 within the allotted number of reruns (the test will be marked
 as 'flaky' in the report).
 ">
+      <action dev="aherbert" type="add" issue="RNG-91">
+        New "KempSmallMeanPoissonSampler" that provides Poisson samples using only 1 random
+        deviate per sample. This algorithm outperforms the SmallMeanPoissonSampler
+        when the generator is slow.
+      </action>
       <action dev="aherbert" type="fix" issue="RNG-93">
         "SmallMeanPoissonSampler": Requires the Poisson probability for p(x=0) to be positive
         setting an upper bound on the mean of approximately 744.44.