You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2018/08/14 13:22:47 UTC
[01/33] commons-rng git commit: Upversion to 1.1 in preparation for
release
Repository: commons-rng
Updated Branches:
refs/heads/master 6216904ec -> 7cc05c6d8
Upversion to 1.1 in preparation for release
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/e41874fe
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/e41874fe
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/e41874fe
Branch: refs/heads/master
Commit: e41874fec264cb290035ceb8c966eeae14cc7152
Parents: 4679960
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jul 10 22:06:13 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jul 10 22:06:13 2018 -0400
----------------------------------------------------------------------
commons-rng-client-api/pom.xml | 4 ++--
commons-rng-core/pom.xml | 6 +++---
commons-rng-examples/examples-jmh/pom.xml | 4 ++--
commons-rng-examples/examples-jpms/jpms-app/pom.xml | 6 +++---
commons-rng-examples/examples-jpms/jpms-lib/pom.xml | 4 ++--
commons-rng-examples/examples-jpms/pom.xml | 4 ++--
commons-rng-examples/examples-quadrature/pom.xml | 4 ++--
commons-rng-examples/examples-sampling/pom.xml | 4 ++--
commons-rng-examples/examples-stress/pom.xml | 4 ++--
commons-rng-examples/pom.xml | 10 +++++-----
commons-rng-sampling/pom.xml | 8 ++++----
commons-rng-simple/pom.xml | 6 +++---
pom.xml | 2 +-
13 files changed, 33 insertions(+), 33 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-client-api/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-client-api/pom.xml b/commons-rng-client-api/pom.xml
index 9e19247..a323bf3 100644
--- a/commons-rng-client-api/pom.xml
+++ b/commons-rng-client-api/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG Client API</name>
<description>API for client code that uses random numbers generators.</description>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-core/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-core/pom.xml b/commons-rng-core/pom.xml
index 8971f4e..7854ec3 100644
--- a/commons-rng-core/pom.xml
+++ b/commons-rng-core/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG Core</name>
<description>Pure Java implementations of random numbers generator algorithms.
@@ -51,7 +51,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-examples/examples-jmh/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jmh/pom.xml b/commons-rng-examples/examples-jmh/pom.xml
index bf03851..22f3bd6 100644
--- a/commons-rng-examples/examples-jmh/pom.xml
+++ b/commons-rng-examples/examples-jmh/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>JMH Benchmark</name>
<description>Code for running JMH benchmarks that assess the performance of the generators.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-examples/examples-jpms/jpms-app/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jpms/jpms-app/pom.xml b/commons-rng-examples/examples-jpms/jpms-app/pom.xml
index a8beaee..42fccdb 100644
--- a/commons-rng-examples/examples-jpms/jpms-app/pom.xml
+++ b/commons-rng-examples/examples-jpms/jpms-app/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>JPMS module example (application)</name>
<description>Testing JPMS. Code in this module is not part of the public API.</description>
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jpms/jpms-lib/pom.xml b/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
index 11de063..2514ad7 100644
--- a/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
+++ b/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>JPMS module example (library)</name>
<description>Testing JPMS. Code in this module is not part of the public API.</description>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-examples/examples-jpms/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jpms/pom.xml b/commons-rng-examples/examples-jpms/pom.xml
index 8fc2a60..2b1451b 100644
--- a/commons-rng-examples/examples-jpms/pom.xml
+++ b/commons-rng-examples/examples-jpms/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<packaging>pom</packaging>
<name>JPMS Integration test</name>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-examples/examples-quadrature/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-quadrature/pom.xml b/commons-rng-examples/examples-quadrature/pom.xml
index ad40f0a..5b55bf8 100644
--- a/commons-rng-examples/examples-quadrature/pom.xml
+++ b/commons-rng-examples/examples-quadrature/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Quadrature example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-examples/examples-sampling/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-sampling/pom.xml b/commons-rng-examples/examples-sampling/pom.xml
index af51710..b5738f4 100644
--- a/commons-rng-examples/examples-sampling/pom.xml
+++ b/commons-rng-examples/examples-sampling/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Sampling example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-examples/examples-stress/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-stress/pom.xml b/commons-rng-examples/examples-stress/pom.xml
index 25d3f07..2c41ba7 100644
--- a/commons-rng-examples/examples-stress/pom.xml
+++ b/commons-rng-examples/examples-stress/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Stress test example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-examples/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/pom.xml b/commons-rng-examples/pom.xml
index 9fbb272..6dfa058 100644
--- a/commons-rng-examples/pom.xml
+++ b/commons-rng-examples/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<packaging>pom</packaging>
<name>Apache Commons RNG Examples</name>
@@ -55,19 +55,19 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies>
</dependencyManagement>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-sampling/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml
index 29c6714..bd1fb0d 100644
--- a/commons-rng-sampling/pom.xml
+++ b/commons-rng-sampling/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG Sampling</name>
<description>The Apache Commons RNG Sampling module provides samplers
@@ -48,13 +48,13 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<scope>test</scope>
</dependency>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/commons-rng-simple/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-simple/pom.xml b/commons-rng-simple/pom.xml
index 6d47e08..aa6350c 100644
--- a/commons-rng-simple/pom.xml
+++ b/commons-rng-simple/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG Simple</name>
<description>Simple API for instantiating random numbers generators.</description>
@@ -48,7 +48,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e41874fe/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b801b16..53ce20c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<packaging>pom</packaging>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons RNG</name>
<inceptionYear>2016</inceptionYear>
[13/33] commons-rng git commit: Rat exclude,
and add RELEASE-NOTES-1.1.txt to release-history in site
Posted by ch...@apache.org.
Rat exclude, and add RELEASE-NOTES-1.1.txt to release-history in site
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/6a937e8f
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/6a937e8f
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/6a937e8f
Branch: refs/heads/master
Commit: 6a937e8f29a41025c78ca1f61d9d9400cb61d068
Parents: a464b9b
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jul 24 21:03:46 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jul 24 21:03:46 2018 -0400
----------------------------------------------------------------------
pom.xml | 1 +
.../release-notes/RELEASE-NOTES-1.1.txt | 67 ++++++++++++++++++++
2 files changed, 68 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/6a937e8f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7efb713..e6de374 100644
--- a/pom.xml
+++ b/pom.xml
@@ -223,6 +223,7 @@
<exclude>.ekstazi/**</exclude>
<exclude>**/site-content/**</exclude>
<exclude>**/target/**</exclude>
+ <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
<exclude>src/site/resources/txt/userguide/stress/dh/**</exclude>
<exclude>src/site/resources/txt/userguide/stress/tu/**</exclude>
<exclude>dist-archive/**</exclude>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/6a937e8f/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
----------------------------------------------------------------------
diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
new file mode 100644
index 0000000..eaaedc5
--- /dev/null
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
@@ -0,0 +1,67 @@
+ Apache Commons RNG 1.1 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the commons-rng-parent-1.1 release!
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+Changes in this version include:
+
+New features:
+o RNG-37: Implementation of the "Ziggurat" algorithm for Gaussian sampling.
+o RNG-47: "DiscreteProbabilityCollectionSampler": Sampling from a collection of items
+ with user-defined probabilities (feature ported from "Commons Math").
+o RNG-43: "LogNormalSampler" with user-defined underlying "NormalizedGaussianSampler".
+o RNG-39: "UnitSphereSampler": generate random vectors isotropically located
+ on the surface of a sphere (feature ported from "Commons Math").
+o RNG-36: "MarsagliaNormalizedGaussianSampler": Faster variation of the
+ Box-Muller algorithm.
+ This version is used within "AhrensDieterMarsagliaTsangGammaSampler"
+ "MarsagliaLogNormalSampler" and "PoissonSampler" (generated sequences
+ will thus differ from those generated by version 1.0 of the library).
+o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler"
+ marker interface.
+ Implementation of "BoxMullerNormalizedGaussianSampler" deprecates
+ "BoxMullerGaussianSampler".
+
+
+Changes:
+o RNG-42: Use "ZigguratNormalizedGaussianSampler" within the library.
+o RNG-46: Following RNG-43, "BoxMullerLogNormalSampler" has been deprecated.
+ Furthermore, its base class has been removed; although it is a binary
+ incompatibility, it cannot cause any problem that were not already
+ present in code using v1.0 of the library: Calls to the base class
+ would have raised a NPE.
+
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
+
+-----------------------------------------------------------------------------
+
+ Apache Commons RNG 1.0 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.0
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+This is the first release of Apache Commons RNG.
+Apache Commons RNG 1.0 contains the following modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+ commons-rng-jmh (requires Java 6)
+ commons-rng-examples (requires Java 7)
+
+No changes defined in this version.
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
+
+
+Have fun!
+-Apache Commons RNG team
\ No newline at end of file
[24/33] commons-rng git commit: RELEASE-NOTES.txt,
changes to add RNG-50, and make minor edits
Posted by ch...@apache.org.
RELEASE-NOTES.txt, changes to add RNG-50, and make minor edits
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/cc2dbe74
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/cc2dbe74
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/cc2dbe74
Branch: refs/heads/master
Commit: cc2dbe748fb2be6a3d58fb1429bf8bfadd53752d
Parents: 406a41d
Author: Rob Tompkins <ch...@gmail.com>
Authored: Mon Aug 6 08:28:29 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Mon Aug 6 08:28:29 2018 -0400
----------------------------------------------------------------------
RELEASE-NOTES.txt | 17 +++++++++++------
.../resources/release-notes/RELEASE-NOTES-1.1.txt | 17 +++++++++++------
2 files changed, 22 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/cc2dbe74/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 29ee3e2..230a1e7 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -14,18 +14,19 @@ Apache Commons RNG 1.1 contains the following library modules:
commons-rng-sampling (requires Java 6)
The code in module 'commons-rng-core' should not be accessed
-directly by applications as future release might make use of
-the JPMS modularization feature available from Java 9.
+directly by applications as a future release might make use of
+the JPMS modularization feature available in Java 9+.
Additional code is provided in the following module:
commons-rng-examples (requires Java 9)
It is however not part of the official API and no compatibility
should be expected in subsequent releases.
-We would like to also note that commons-rng-sampling has mildly 'flaky' tests due to the
-non-deterministic nature of random number generation. For this purpose, we have set
-failing tests to be re-run in the maven-surefire-plugin. Our current guess is that
-the build process could fail somewhere in the realm of 1 - 5 in 100 runs.
+We would like to also note that unit tests in module 'commons-rng-sampling'
+are bound to fail with some probability; this is expected due to the nature
+of random number generation. The 'maven-surefire-plugin' can be configured
+to re-run tests that fail and pass the build if they succeed (the test will
+be marked as 'flaky' in the report).
Changes in this version include:
@@ -48,6 +49,10 @@ o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler"
Changes:
+o RNG-50: "PoissonSampler": Algorithms for small mean and large mean have
+ been separated into dedicated classes. Cache precomputation has
+ been disabled as it is only marginally used and is a performance
+ hit for small sampling sets.Thanks to Alex D. Herbert.
o RNG-42: Use "ZigguratNormalizedGaussianSampler" within the library.
o RNG-46: Following RNG-43, "BoxMullerLogNormalSampler" has been deprecated.
Furthermore, its base class has been removed; although it is a binary
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/cc2dbe74/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
----------------------------------------------------------------------
diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
index 29ee3e2..230a1e7 100644
--- a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
@@ -14,18 +14,19 @@ Apache Commons RNG 1.1 contains the following library modules:
commons-rng-sampling (requires Java 6)
The code in module 'commons-rng-core' should not be accessed
-directly by applications as future release might make use of
-the JPMS modularization feature available from Java 9.
+directly by applications as a future release might make use of
+the JPMS modularization feature available in Java 9+.
Additional code is provided in the following module:
commons-rng-examples (requires Java 9)
It is however not part of the official API and no compatibility
should be expected in subsequent releases.
-We would like to also note that commons-rng-sampling has mildly 'flaky' tests due to the
-non-deterministic nature of random number generation. For this purpose, we have set
-failing tests to be re-run in the maven-surefire-plugin. Our current guess is that
-the build process could fail somewhere in the realm of 1 - 5 in 100 runs.
+We would like to also note that unit tests in module 'commons-rng-sampling'
+are bound to fail with some probability; this is expected due to the nature
+of random number generation. The 'maven-surefire-plugin' can be configured
+to re-run tests that fail and pass the build if they succeed (the test will
+be marked as 'flaky' in the report).
Changes in this version include:
@@ -48,6 +49,10 @@ o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler"
Changes:
+o RNG-50: "PoissonSampler": Algorithms for small mean and large mean have
+ been separated into dedicated classes. Cache precomputation has
+ been disabled as it is only marginally used and is a performance
+ hit for small sampling sets.Thanks to Alex D. Herbert.
o RNG-42: Use "ZigguratNormalizedGaussianSampler" within the library.
o RNG-46: Following RNG-43, "BoxMullerLogNormalSampler" has been deprecated.
Furthermore, its base class has been removed; although it is a binary
[32/33] commons-rng git commit: 1.1 -> 1.2-SNAPSHOT
Posted by ch...@apache.org.
1.1 -> 1.2-SNAPSHOT
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/b45d6fb5
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/b45d6fb5
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/b45d6fb5
Branch: refs/heads/master
Commit: b45d6fb501d2d8cbd348f23e711ce3b078b579dc
Parents: 986ab30
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Aug 14 09:21:50 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Aug 14 09:21:50 2018 -0400
----------------------------------------------------------------------
commons-rng-client-api/pom.xml | 4 +-
commons-rng-core/pom.xml | 6 +-
commons-rng-examples/examples-jmh/pom.xml | 4 +-
.../examples-jpms/jpms-app/pom.xml | 6 +-
.../examples-jpms/jpms-lib/pom.xml | 4 +-
commons-rng-examples/examples-jpms/pom.xml | 4 +-
.../examples-quadrature/pom.xml | 4 +-
commons-rng-examples/examples-sampling/pom.xml | 4 +-
commons-rng-examples/examples-stress/pom.xml | 4 +-
commons-rng-examples/pom.xml | 10 +--
commons-rng-sampling/pom.xml | 8 +--
commons-rng-simple/pom.xml | 6 +-
dist-archive/pom.xml | 64 ++++++++++----------
pom.xml | 2 +-
14 files changed, 65 insertions(+), 65 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-client-api/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-client-api/pom.xml b/commons-rng-client-api/pom.xml
index d6c4d4d..2e72c60 100644
--- a/commons-rng-client-api/pom.xml
+++ b/commons-rng-client-api/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>Apache Commons RNG Client API</name>
<description>API for client code that uses random numbers generators.</description>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-core/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-core/pom.xml b/commons-rng-core/pom.xml
index 7854ec3..6fe5243 100644
--- a/commons-rng-core/pom.xml
+++ b/commons-rng-core/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>Apache Commons RNG Core</name>
<description>Pure Java implementations of random numbers generator algorithms.
@@ -51,7 +51,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-examples/examples-jmh/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jmh/pom.xml b/commons-rng-examples/examples-jmh/pom.xml
index 22f3bd6..7948b38 100644
--- a/commons-rng-examples/examples-jmh/pom.xml
+++ b/commons-rng-examples/examples-jmh/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>JMH Benchmark</name>
<description>Code for running JMH benchmarks that assess the performance of the generators.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-examples/examples-jpms/jpms-app/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jpms/jpms-app/pom.xml b/commons-rng-examples/examples-jpms/jpms-app/pom.xml
index 42fccdb..26d613b 100644
--- a/commons-rng-examples/examples-jpms/jpms-app/pom.xml
+++ b/commons-rng-examples/examples-jpms/jpms-app/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>JPMS module example (application)</name>
<description>Testing JPMS. Code in this module is not part of the public API.</description>
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jpms/jpms-lib/pom.xml b/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
index 2514ad7..550b030 100644
--- a/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
+++ b/commons-rng-examples/examples-jpms/jpms-lib/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>JPMS module example (library)</name>
<description>Testing JPMS. Code in this module is not part of the public API.</description>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-examples/examples-jpms/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jpms/pom.xml b/commons-rng-examples/examples-jpms/pom.xml
index 2b1451b..1522d36 100644
--- a/commons-rng-examples/examples-jpms/pom.xml
+++ b/commons-rng-examples/examples-jpms/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>JPMS Integration test</name>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-examples/examples-quadrature/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-quadrature/pom.xml b/commons-rng-examples/examples-quadrature/pom.xml
index 5b55bf8..d17c3ee 100644
--- a/commons-rng-examples/examples-quadrature/pom.xml
+++ b/commons-rng-examples/examples-quadrature/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>Quadrature example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-examples/examples-sampling/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-sampling/pom.xml b/commons-rng-examples/examples-sampling/pom.xml
index b5738f4..5040896 100644
--- a/commons-rng-examples/examples-sampling/pom.xml
+++ b/commons-rng-examples/examples-sampling/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>Sampling example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-examples/examples-stress/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-stress/pom.xml b/commons-rng-examples/examples-stress/pom.xml
index 2c41ba7..9595a5d 100644
--- a/commons-rng-examples/examples-stress/pom.xml
+++ b/commons-rng-examples/examples-stress/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>Stress test example</name>
<description>Application for calling external tools that perform stringent uniformity tests.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-examples/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-examples/pom.xml b/commons-rng-examples/pom.xml
index 6dfa058..f8864dc 100644
--- a/commons-rng-examples/pom.xml
+++ b/commons-rng-examples/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Commons RNG Examples</name>
@@ -55,19 +55,19 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-sampling/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml
index 6d0a80a..f56eec0 100644
--- a/commons-rng-sampling/pom.xml
+++ b/commons-rng-sampling/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>Apache Commons RNG Sampling</name>
<description>The Apache Commons RNG Sampling module provides samplers
@@ -48,13 +48,13 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<scope>test</scope>
</dependency>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/commons-rng-simple/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-simple/pom.xml b/commons-rng-simple/pom.xml
index aa6350c..7420b6d 100644
--- a/commons-rng-simple/pom.xml
+++ b/commons-rng-simple/pom.xml
@@ -23,12 +23,12 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>Apache Commons RNG Simple</name>
<description>Simple API for instantiating random numbers generators.</description>
@@ -48,7 +48,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/dist-archive/pom.xml
----------------------------------------------------------------------
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index 757d7d2..be7ae52 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -25,12 +25,12 @@ under the License.
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Commons RNG (full distribution)</name>
<description>This module creates the Apache Commons RNG distribution.</description>
@@ -71,18 +71,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
@@ -90,18 +90,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
@@ -109,18 +109,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
@@ -128,18 +128,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
@@ -147,18 +147,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
@@ -166,35 +166,35 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
@@ -202,18 +202,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
@@ -221,18 +221,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
@@ -240,18 +240,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<classifier>javadoc</classifier>
</dependency>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b45d6fb5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4260cfa..6b8642b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<packaging>pom</packaging>
- <version>1.1</version>
+ <version>1.2-SNAPSHOT</version>
<name>Apache Commons RNG</name>
<inceptionYear>2016</inceptionYear>
[04/33] commons-rng git commit: Update archives creation
Posted by ch...@apache.org.
Update archives creation
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/ffe585f5
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/ffe585f5
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/ffe585f5
Branch: refs/heads/master
Commit: ffe585f5b6d461bf4f4cc4a59b8b9344e7a5bd7e
Parents: aa8f196
Author: Rob Tompkins <ch...@gmail.com>
Authored: Fri Jul 13 15:29:22 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Fri Jul 13 15:29:22 2018 -0400
----------------------------------------------------------------------
commons-rng-client-api/pom.xml | 1 +
dist-archive/pom.xml | 161 +++++++++++++++++++++++++++------
dist-archive/src/assembly/bin.xml | 13 +++
pom.xml | 22 ++---
src/assembly/bin.xml | 45 +++++----
src/assembly/src.xml | 42 ++++-----
6 files changed, 200 insertions(+), 84 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/ffe585f5/commons-rng-client-api/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-client-api/pom.xml b/commons-rng-client-api/pom.xml
index a323bf3..d6c4d4d 100644
--- a/commons-rng-client-api/pom.xml
+++ b/commons-rng-client-api/pom.xml
@@ -41,6 +41,7 @@
<commons.automatic.module.name>org.apache.commons.rng.api</commons.automatic.module.name>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}/..</rng.parent.dir>
+ <commons.release.isDistModule>false</commons.release.isDistModule>
</properties>
</project>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/ffe585f5/dist-archive/pom.xml
----------------------------------------------------------------------
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index f559524..f1c6cfd 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -25,34 +25,47 @@ under the License.
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<packaging>pom</packaging>
<name>Apache Commons RNG (full distribution)</name>
<description>This module creates the Apache Commons RNG distribution.</description>
+ <properties>
+ <checkstyle.skip>true</checkstyle.skip>
+ <animal.sniffer.skip>true</animal.sniffer.skip>
+ <!-- Commons Release Plugin -->
+ <commons.bc.version>1.0</commons.bc.version>
+ <commons.release.isDistModule>true</commons.release.isDistModule>
+ <commons.siteOutputDirectory>${basedir}/../target/site</commons.siteOutputDirectory>
+ <commons.releaseNotesLocation>${basedir}/../RELEASE-NOTES.txt</commons.releaseNotesLocation>
+ <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
+ <commons.releaseManagerName>Rob Tompkins</commons.releaseManagerName>
+ <commons.releaseManagerKey>B6E73D84EA4FCC47166087253FAAD2CD5ECBB314</commons.releaseManagerKey>
+ </properties>
+
<dependencies>
<!-- Module: Client API -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<classifier>javadoc</classifier>
</dependency>
@@ -60,18 +73,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<classifier>javadoc</classifier>
</dependency>
@@ -79,18 +92,18 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<classifier>javadoc</classifier>
</dependency>
@@ -98,56 +111,130 @@ under the License.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - JMH -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - JPMS -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
<classifier>javadoc</classifier>
</dependency>
- <!-- Module: JMH -->
+ <!-- Module: Examples - Quadrature -->
<dependency>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-jmh</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-jmh</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-jmh</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
<classifier>javadoc</classifier>
</dependency>
- <!-- Module: Examples -->
+ <!-- Module: Examples - Sampling -->
<dependency>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - Stress -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
<classifier>javadoc</classifier>
</dependency>
@@ -171,16 +258,32 @@ under the License.
<build>
<plugins>
<plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>get-dependencies</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
+ <configuration>
+ <skipAssembly>false</skipAssembly>
+ </configuration>
<executions>
<execution>
<id>create-distribution</id>
- <phase>package</phase>
+ <phase>install</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
+ <skipAssembly>false</skipAssembly>
<descriptors>
<descriptor>src/assembly/bin.xml</descriptor>
<descriptor>src/assembly/src.xml</descriptor>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/ffe585f5/dist-archive/src/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/dist-archive/src/assembly/bin.xml b/dist-archive/src/assembly/bin.xml
index 7927455..f4a9e7d 100644
--- a/dist-archive/src/assembly/bin.xml
+++ b/dist-archive/src/assembly/bin.xml
@@ -38,5 +38,18 @@ limitations under the License.
<include>RELEASE-NOTES.txt</include>
</includes>
</fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>../target/site</directory>
+ <outputDirectory>docs</outputDirectory>
+ <excludes>
+ </excludes>
+ </fileSet>
</fileSets>
</assembly>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/ffe585f5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 53ce20c..19b3c4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,7 +89,8 @@
<!-- Java 9+ -->
<commons.automatic.module.name>org.apache.commons.rng.parent</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
- <commons.release.version>1.0</commons.release.version>
+ <commons.release.version>1.1</commons.release.version>
+ <commons.rc.version>RC1</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
<!-- <commons.rc.version>RC1</commons.rc.version> -->
<commons.binary.suffix>-bin</commons.binary.suffix>
@@ -180,17 +181,6 @@
</configuration>
</plugin>
<plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/src.xml</descriptor>
- <descriptor>src/assembly/bin.xml</descriptor>
- </descriptors>
- <!-- There are a lot of long file names. Suppress the warnings. -->
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
@@ -249,6 +239,13 @@
<!-- <aggregate>true</aggregate> -->
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <skipAssembly>true</skipAssembly>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
@@ -587,6 +584,7 @@
<module>commons-rng-core</module>
<module>commons-rng-simple</module>
<module>commons-rng-sampling</module>
+ <module>dist-archive</module>
<!--
Built only upon explicit request (requires Java 1.7+).
See profile "commons-rng-examples".
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/ffe585f5/src/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/src/assembly/bin.xml b/src/assembly/bin.xml
index a5ff153..2152395 100644
--- a/src/assembly/bin.xml
+++ b/src/assembly/bin.xml
@@ -1,45 +1,52 @@
-<?xml version="1.0"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
-
<assembly>
<id>bin</id>
<formats>
<format>tar.gz</format>
<format>zip</format>
</formats>
+ <baseDirectory>${project.artifactId}-${project.version}</baseDirectory>
<includeSiteDirectory>false</includeSiteDirectory>
+ <dependencySets>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+
<fileSets>
<fileSet>
+ <directory>${project.basedir}/..</directory>
<includes>
- <include>LICENSE*</include>
- <include>NOTICE*</include>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
<include>RELEASE-NOTES.txt</include>
</includes>
</fileSet>
<fileSet>
- <directory>target</directory>
+ <directory>${project.basedir}/target/dependency</directory>
<outputDirectory></outputDirectory>
<includes>
- <include>*.jar</include>
+ <include>commons-rng*.jar</include>
</includes>
</fileSet>
<fileSet>
- <directory>target/site</directory>
+ <directory>${project.basedir}../target/site</directory>
<outputDirectory>docs</outputDirectory>
<excludes>
</excludes>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/ffe585f5/src/assembly/src.xml
----------------------------------------------------------------------
diff --git a/src/assembly/src.xml b/src/assembly/src.xml
index a78f24f..cf75fed 100644
--- a/src/assembly/src.xml
+++ b/src/assembly/src.xml
@@ -1,19 +1,18 @@
-<?xml version="1.0"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
-->
<assembly>
<id>src</id>
@@ -21,21 +20,16 @@
<format>tar.gz</format>
<format>zip</format>
</formats>
- <baseDirectory>
- ${project.artifactId}-${commons.release.version}-src
- </baseDirectory>
+ <baseDirectory>${project.artifactId}-${project.version}-src</baseDirectory>
<fileSets>
<fileSet>
- <includes>
- <include>*.txt</include>
- <include>*.xml</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>src</directory>
+ <directory>${project.basedir}/..</directory>
<excludes>
+ <exclude>${project.build.directory}/**</exclude>
+ <exclude>.*/**</exclude>
+ <exclude>**/${project.build.directory}/**</exclude>
+ <exclude>**/.*/**</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>
-
[27/33] commons-rng git commit: Adding PoissonSampler deprecations.
Use the correct faster public methods
Posted by ch...@apache.org.
Adding PoissonSampler deprecations. Use the correct faster public methods
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/f8159f28
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/f8159f28
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/f8159f28
Branch: refs/heads/master
Commit: f8159f28a52197d0e7b55e39b115702147cf57a0
Parents: 50b984b
Author: Rob Tompkins <ch...@gmail.com>
Authored: Wed Aug 8 12:42:45 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Wed Aug 8 12:42:45 2018 -0400
----------------------------------------------------------------------
.../sampling/distribution/PoissonSampler.java | 42 ++++++++++++++++++++
1 file changed, 42 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/f8159f28/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
index d0733ba..29d0e4e 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
@@ -67,6 +67,48 @@ public class PoissonSampler
return poissonSampler.sample();
}
+ /**
+ * @return a random value from a uniform distribution in the
+ * interval {@code [0, 1)}.
+ * @deprecated - one should be using the {@link PoissonSampler#sample()} method,
+ * as it is considerably faster.
+ */
+ @Deprecated
+ protected double nextDouble() {
+ return super.nextDouble();
+ }
+
+ /**
+ * @return a random {@code int} value.
+ * @deprecated - one should be using the {@link PoissonSampler#sample()} method,
+ * as it is considerably faster.
+ */
+ @Deprecated
+ protected int nextInt() {
+ return super.nextInt();
+ }
+
+ /**
+ * @param max Upper bound (excluded).
+ * @return a random {@code int} value in the interval {@code [0, max)}.
+ * @deprecated - one should be using the {@link PoissonSampler#sample()} method,
+ * * as it is considerably faster.
+ */
+ @Deprecated
+ protected int nextInt(int max) {
+ return super.nextInt(max);
+ }
+
+ /**
+ * @return a random {@code long} value.
+ * @deprecated - one should be using the {@link PoissonSampler#sample()} method,
+ * * as it is considerably faster.
+ */
+ @Deprecated
+ protected long nextLong() {
+ return super.nextLong();
+ }
+
/** {@inheritDoc} */
@Override
public String toString() {
[02/33] commons-rng git commit: Userguide update.
Posted by ch...@apache.org.
Userguide update.
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/b89752b8
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/b89752b8
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/b89752b8
Branch: refs/heads/master
Commit: b89752b836ac259daeeace92b2dee47d56482ac2
Parents: e41874f
Author: Gilles <er...@apache.org>
Authored: Thu Jul 12 14:11:58 2018 +0200
Committer: Gilles <er...@apache.org>
Committed: Thu Jul 12 14:11:58 2018 +0200
----------------------------------------------------------------------
src/site/apt/userguide/rng.apt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b89752b8/src/site/apt/userguide/rng.apt
----------------------------------------------------------------------
diff --git a/src/site/apt/userguide/rng.apt b/src/site/apt/userguide/rng.apt
index 0c3b865..8ae6f92 100644
--- a/src/site/apt/userguide/rng.apt
+++ b/src/site/apt/userguide/rng.apt
@@ -449,8 +449,7 @@ String word = sampler.sample().get(0);
4. Performance
This section reports
- {{{../commons-rng-jmh/apidocs/org/apache/commons/rng/jmh/package-summary.html}performance benchmarks}}
- of the RNG implementations.
+ {{{../commons-rng-examples/examples-jmh/apidocs/org/apache/commons/rng/jmh/package-summary.html}performance benchmarks}} of the RNG implementations.
All runs were performed on a platform with the following characteristics:
[10/33] commons-rng git commit: Another attempt at the correct
assembly
Posted by ch...@apache.org.
Another attempt at the correct assembly
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/562a24f8
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/562a24f8
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/562a24f8
Branch: refs/heads/master
Commit: 562a24f8429334a4b4807d178161b7a33da4ab60
Parents: b8635de
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jul 24 17:23:22 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jul 24 17:23:22 2018 -0400
----------------------------------------------------------------------
dist-archive/pom.xml | 4 ++--
dist-archive/src/assembly/src.xml | 8 +++-----
pom.xml | 4 ++--
3 files changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/562a24f8/dist-archive/pom.xml
----------------------------------------------------------------------
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index 3117a0d..93f8062 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -262,7 +262,7 @@ under the License.
<executions>
<execution>
<id>get-dependencies</id>
- <phase>prepare-package</phase>
+ <phase>install</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
@@ -278,7 +278,7 @@ under the License.
<executions>
<execution>
<id>create-distribution</id>
- <phase>package</phase>
+ <phase>install</phase>
<goals>
<goal>single</goal>
</goals>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/562a24f8/dist-archive/src/assembly/src.xml
----------------------------------------------------------------------
diff --git a/dist-archive/src/assembly/src.xml b/dist-archive/src/assembly/src.xml
index cf75fed..a34a306 100644
--- a/dist-archive/src/assembly/src.xml
+++ b/dist-archive/src/assembly/src.xml
@@ -23,12 +23,10 @@ limitations under the License.
<baseDirectory>${project.artifactId}-${project.version}-src</baseDirectory>
<fileSets>
<fileSet>
- <directory>${project.basedir}/..</directory>
+ <directory>../</directory>
<excludes>
- <exclude>${project.build.directory}/**</exclude>
- <exclude>.*/**</exclude>
- <exclude>**/${project.build.directory}/**</exclude>
- <exclude>**/.*/**</exclude>
+ <exclude>**/site-content/**</exclude>
+ <exclude>**/target/**</exclude>
</excludes>
</fileSet>
</fileSets>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/562a24f8/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 43e5737..7efb713 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,9 +90,8 @@
<commons.automatic.module.name>org.apache.commons.rng.parent</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
<commons.release.version>1.1</commons.release.version>
- <commons.rc.version>RC1</commons.rc.version>
+ <commons.rc.version>RC3</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
- <commons.rc.version>RC2</commons.rc.version>
<commons.binary.suffix>-bin</commons.binary.suffix>
<commons.jira.id>RNG</commons.jira.id>
@@ -586,6 +585,7 @@
<module>commons-rng-core</module>
<module>commons-rng-simple</module>
<module>commons-rng-sampling</module>
+ <module>commons-rng-examples</module>
<module>dist-archive</module>
<!--
Built only upon explicit request (requires Java 1.7+).
[20/33] commons-rng git commit: Update prospective release date (and
other minor changes).
Posted by ch...@apache.org.
Update prospective release date (and other minor changes).
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/aa0f3b49
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/aa0f3b49
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/aa0f3b49
Branch: refs/heads/master
Commit: aa0f3b4909b0cd3a22c4ba8f04646ef264cee9d9
Parents: 8edbb4b
Author: Gilles <er...@apache.org>
Authored: Wed Aug 1 12:06:05 2018 +0200
Committer: Gilles <er...@apache.org>
Committed: Wed Aug 1 12:06:05 2018 +0200
----------------------------------------------------------------------
src/changes/changes.xml | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/aa0f3b49/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index dc454b5..8901f17 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,7 +51,7 @@ If the output is not quite correct, check for invisible trailing spaces!
</properties>
<body>
- <release version="1.1" date="2018-07-27" description="
+ <release version="1.1" date="2018-08-05" description="
This is a minor release of Apache Commons RNG, containing a
few new features and performance improvements.
@@ -62,18 +62,19 @@ Apache Commons RNG 1.1 contains the following library modules:
commons-rng-sampling (requires Java 6)
The code in module 'commons-rng-core' should not be accessed
-directly by applications as future release might make use of
-the JPMS modularization feature available from Java 9.
+directly by applications as a future release might make use of
+the JPMS modularization feature available in Java 9+.
Additional code is provided in the following module:
commons-rng-examples (requires Java 9)
It is however not part of the official API and no compatibility
should be expected in subsequent releases.
-We would like to also note that commons-rng-sampling has mildly 'flaky' tests due to the
-non-deterministic nature of random number generation. For this purpose, we have set
-failing tests to be re-run in the maven-surefire-plugin. Our current guess is that
-the build process could fail somewhere in the realm of 1 - 5 in 100 runs.
+We would like to also note that unit tests in module 'commons-rng-sampling'
+are bound to fail with some probability; this is expected due to the nature
+of random number generation. The 'maven-surefire-plugin' can be configured
+to re-run tests that fail and pass the build if they succeed (the test will
+be marked as 'flaky' in the report).
">
<action dev="erans" type="add" issue="RNG-37">
Implementation of the "Ziggurat" algorithm for Gaussian sampling.
[21/33] commons-rng git commit: commons-rng-1.1-RC4 -> RC5
Posted by ch...@apache.org.
commons-rng-1.1-RC4 -> RC5
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/288c8b51
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/288c8b51
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/288c8b51
Branch: refs/heads/master
Commit: 288c8b5196ab29e0e2ca50182a28f217e0828833
Parents: aa0f3b4
Author: Rob Tompkins <ch...@gmail.com>
Authored: Wed Aug 1 08:30:38 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Wed Aug 1 08:30:38 2018 -0400
----------------------------------------------------------------------
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/288c8b51/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8e272b8..adcefda 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,7 +90,7 @@
<commons.automatic.module.name>org.apache.commons.rng.parent</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
<commons.release.version>1.1</commons.release.version>
- <commons.rc.version>RC4</commons.rc.version>
+ <commons.rc.version>RC5</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
<commons.binary.suffix>-bin</commons.binary.suffix>
[11/33] commons-rng git commit: add .git to src excludes
Posted by ch...@apache.org.
add .git to src excludes
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/8711cb9a
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/8711cb9a
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/8711cb9a
Branch: refs/heads/master
Commit: 8711cb9a66952d9aab31e14f1a8ed5eb323303dd
Parents: 562a24f
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jul 24 17:26:07 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jul 24 17:26:07 2018 -0400
----------------------------------------------------------------------
dist-archive/src/assembly/src.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/8711cb9a/dist-archive/src/assembly/src.xml
----------------------------------------------------------------------
diff --git a/dist-archive/src/assembly/src.xml b/dist-archive/src/assembly/src.xml
index a34a306..cf7eb5a 100644
--- a/dist-archive/src/assembly/src.xml
+++ b/dist-archive/src/assembly/src.xml
@@ -25,6 +25,7 @@ limitations under the License.
<fileSet>
<directory>../</directory>
<excludes>
+ <exclude>**/.git/**</exclude>
<exclude>**/site-content/**</exclude>
<exclude>**/target/**</exclude>
</excludes>
[16/33] commons-rng git commit: Update release-notes with comments
from changes
Posted by ch...@apache.org.
Update release-notes with comments from changes
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/2b391522
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/2b391522
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/2b391522
Branch: refs/heads/master
Commit: 2b3915227bb80eeeff3b07faa8a433a469e98dd0
Parents: 1eb7ea4
Author: Rob Tompkins <ch...@gmail.com>
Authored: Fri Jul 27 08:42:09 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Fri Jul 27 08:42:09 2018 -0400
----------------------------------------------------------------------
RELEASE-NOTES.txt | 23 ++++++++++++++++++++
src/changes/changes.xml | 7 +++++-
.../release-notes/RELEASE-NOTES-1.1.txt | 23 ++++++++++++++++++++
3 files changed, 52 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/2b391522/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index eaaedc5..29ee3e2 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -4,6 +4,29 @@ The Apache Commons RNG team is pleased to announce the commons-rng-parent-1.1 re
The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+This is a minor release of Apache Commons RNG, containing a
+few new features and performance improvements.
+
+Apache Commons RNG 1.1 contains the following library modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+
+The code in module 'commons-rng-core' should not be accessed
+directly by applications as future release might make use of
+the JPMS modularization feature available from Java 9.
+
+Additional code is provided in the following module:
+ commons-rng-examples (requires Java 9)
+It is however not part of the official API and no compatibility
+should be expected in subsequent releases.
+
+We would like to also note that commons-rng-sampling has mildly 'flaky' tests due to the
+non-deterministic nature of random number generation. For this purpose, we have set
+failing tests to be re-run in the maven-surefire-plugin. Our current guess is that
+the build process could fail somewhere in the realm of 1 - 5 in 100 runs.
+
Changes in this version include:
New features:
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/2b391522/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 04b30ba..dc454b5 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,7 +51,7 @@ If the output is not quite correct, check for invisible trailing spaces!
</properties>
<body>
- <release version="1.1" date="TBD" description="
+ <release version="1.1" date="2018-07-27" description="
This is a minor release of Apache Commons RNG, containing a
few new features and performance improvements.
@@ -69,6 +69,11 @@ Additional code is provided in the following module:
commons-rng-examples (requires Java 9)
It is however not part of the official API and no compatibility
should be expected in subsequent releases.
+
+We would like to also note that commons-rng-sampling has mildly 'flaky' tests due to the
+non-deterministic nature of random number generation. For this purpose, we have set
+failing tests to be re-run in the maven-surefire-plugin. Our current guess is that
+the build process could fail somewhere in the realm of 1 - 5 in 100 runs.
">
<action dev="erans" type="add" issue="RNG-37">
Implementation of the "Ziggurat" algorithm for Gaussian sampling.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/2b391522/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
----------------------------------------------------------------------
diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
index eaaedc5..29ee3e2 100644
--- a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
@@ -4,6 +4,29 @@ The Apache Commons RNG team is pleased to announce the commons-rng-parent-1.1 re
The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+This is a minor release of Apache Commons RNG, containing a
+few new features and performance improvements.
+
+Apache Commons RNG 1.1 contains the following library modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+
+The code in module 'commons-rng-core' should not be accessed
+directly by applications as future release might make use of
+the JPMS modularization feature available from Java 9.
+
+Additional code is provided in the following module:
+ commons-rng-examples (requires Java 9)
+It is however not part of the official API and no compatibility
+should be expected in subsequent releases.
+
+We would like to also note that commons-rng-sampling has mildly 'flaky' tests due to the
+non-deterministic nature of random number generation. For this purpose, we have set
+failing tests to be re-run in the maven-surefire-plugin. Our current guess is that
+the build process could fail somewhere in the realm of 1 - 5 in 100 runs.
+
Changes in this version include:
New features:
[19/33] commons-rng git commit: Add license text.
Posted by ch...@apache.org.
Add license text.
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/8edbb4b1
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/8edbb4b1
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/8edbb4b1
Branch: refs/heads/master
Commit: 8edbb4b1b90ff557554540be662d7e6f4daf2a84
Parents: b2c99eb
Author: Gilles <er...@apache.org>
Authored: Wed Aug 1 11:26:11 2018 +0200
Committer: Gilles <er...@apache.org>
Committed: Wed Aug 1 11:26:11 2018 +0200
----------------------------------------------------------------------
commons-rng-examples/examples-jpms/runApp.sh | 15 +++++++++++++++
1 file changed, 15 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/8edbb4b1/commons-rng-examples/examples-jpms/runApp.sh
----------------------------------------------------------------------
diff --git a/commons-rng-examples/examples-jpms/runApp.sh b/commons-rng-examples/examples-jpms/runApp.sh
index d55ba4f..886209d 100755
--- a/commons-rng-examples/examples-jpms/runApp.sh
+++ b/commons-rng-examples/examples-jpms/runApp.sh
@@ -1,5 +1,20 @@
#!/bin/bash -e
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# Script assumes that the JAR files have all been generated (e.g. by calling
# "mvn package" from the top level project directory).
[12/33] commons-rng git commit: go back to prepare-package and
package on assembly
Posted by ch...@apache.org.
go back to prepare-package and package on assembly
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/a464b9b6
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/a464b9b6
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/a464b9b6
Branch: refs/heads/master
Commit: a464b9b6dd97375a4c660cf4d2b431a16fe7c5e8
Parents: 8711cb9
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jul 24 18:00:05 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jul 24 18:00:05 2018 -0400
----------------------------------------------------------------------
dist-archive/pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/a464b9b6/dist-archive/pom.xml
----------------------------------------------------------------------
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index 93f8062..3117a0d 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -262,7 +262,7 @@ under the License.
<executions>
<execution>
<id>get-dependencies</id>
- <phase>install</phase>
+ <phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
@@ -278,7 +278,7 @@ under the License.
<executions>
<execution>
<id>create-distribution</id>
- <phase>install</phase>
+ <phase>package</phase>
<goals>
<goal>single</goal>
</goals>
[23/33] commons-rng git commit: Merge in master
Posted by ch...@apache.org.
Merge in master
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/406a41d3
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/406a41d3
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/406a41d3
Branch: refs/heads/master
Commit: 406a41d33cacf63d885958e2a73b1d7dbd8a6abd
Parents: f735468 2a31d87
Author: Rob Tompkins <ch...@gmail.com>
Authored: Mon Aug 6 08:16:21 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Mon Aug 6 08:16:21 2018 -0400
----------------------------------------------------------------------
.../distribution/LargeMeanPoissonSampler.java | 207 +++++++++++++++++++
.../sampling/distribution/PoissonSampler.java | 132 +-----------
.../distribution/SmallMeanPoissonSampler.java | 85 ++++++++
.../distribution/DiscreteSamplersList.java | 13 +-
src/changes/changes.xml | 8 +-
5 files changed, 321 insertions(+), 124 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/406a41d3/src/changes/changes.xml
----------------------------------------------------------------------
diff --cc src/changes/changes.xml
index 8901f17,262d7f6..8fba90c
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@@ -51,7 -51,29 +51,7 @@@ If the output is not quite correct, che
</properties>
<body>
-
- <release version="1.2" date="TBD" description="
-This is a minor release of Apache Commons RNG, containing a
-few new features and performance improvements.
-
-Apache Commons RNG 1.2 contains the following library modules:
- commons-rng-client-api (requires Java 6)
- commons-rng-core (requires Java 6)
- commons-rng-simple (requires Java 6)
- commons-rng-sampling (requires Java 6)
-
-The code in module 'commons-rng-core' should not be accessed
-directly by applications as a future release might make use of
-the JPMS modularization feature available in Java 9+.
-
-Additional code is provided in the following module:
- commons-rng-examples (requires Java 9)
-It is however not part of the official API and no compatibility
-should be expected in subsequent releases.
-">
- </release>
-
-- <release version="1.1" date="2018-08-05" description="
++ <release version="1.1" date="2018-08-06" description="
This is a minor release of Apache Commons RNG, containing a
few new features and performance improvements.
[08/33] commons-rng git commit: (fix) bin distribution actually get
jars and get checked in
Posted by ch...@apache.org.
(fix) bin distribution actually get jars and get checked in
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/44a704dc
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/44a704dc
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/44a704dc
Branch: refs/heads/master
Commit: 44a704dce0dba5f0b47424de2254a7e239a54721
Parents: 294cf4c
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Jul 19 09:46:10 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Jul 19 09:46:10 2018 -0400
----------------------------------------------------------------------
dist-archive/pom.xml | 2 +-
dist-archive/src/assembly/bin.xml | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/44a704dc/dist-archive/pom.xml
----------------------------------------------------------------------
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index f1c6cfd..3117a0d 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -278,7 +278,7 @@ under the License.
<executions>
<execution>
<id>create-distribution</id>
- <phase>install</phase>
+ <phase>package</phase>
<goals>
<goal>single</goal>
</goals>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/44a704dc/dist-archive/src/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/dist-archive/src/assembly/bin.xml b/dist-archive/src/assembly/bin.xml
index f4a9e7d..5561518 100644
--- a/dist-archive/src/assembly/bin.xml
+++ b/dist-archive/src/assembly/bin.xml
@@ -39,14 +39,14 @@ limitations under the License.
</includes>
</fileSet>
<fileSet>
- <directory>target</directory>
+ <directory>${project.basedir}/target/dependency</directory>
<outputDirectory></outputDirectory>
<includes>
- <include>*.jar</include>
+ <include>commons-rng*.jar</include>
</includes>
</fileSet>
<fileSet>
- <directory>../target/site</directory>
+ <directory>${project.basedir}/../target/site</directory>
<outputDirectory>docs</outputDirectory>
<excludes>
</excludes>
[15/33] commons-rng git commit: accommodate for up to 4 re-runs of a
failing test
Posted by ch...@apache.org.
accommodate for up to 4 re-runs of a failing test
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/1eb7ea49
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/1eb7ea49
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/1eb7ea49
Branch: refs/heads/master
Commit: 1eb7ea49a3e86fe6128361ec36f1cc424f64e1d8
Parents: b400ab3
Author: Rob Tompkins <ch...@gmail.com>
Authored: Wed Jul 25 21:44:46 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Wed Jul 25 21:44:46 2018 -0400
----------------------------------------------------------------------
commons-rng-sampling/pom.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/1eb7ea49/commons-rng-sampling/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml
index bd1fb0d..6d0a80a 100644
--- a/commons-rng-sampling/pom.xml
+++ b/commons-rng-sampling/pom.xml
@@ -66,4 +66,16 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.22.0</version>
+ <configuration>
+ <rerunFailingTestsCount>4</rerunFailingTestsCount>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
[09/33] commons-rng git commit: Add in RC2
Posted by ch...@apache.org.
Add in RC2
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/b8635de2
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/b8635de2
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/b8635de2
Branch: refs/heads/master
Commit: b8635de20d8d219beae9c5918f2a86ca8f1ccf68
Parents: 44a704d
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Jul 19 11:32:37 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Jul 19 11:32:37 2018 -0400
----------------------------------------------------------------------
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b8635de2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3683bc7..43e5737 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,7 +92,7 @@
<commons.release.version>1.1</commons.release.version>
<commons.rc.version>RC1</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
- <!-- <commons.rc.version>RC1</commons.rc.version> -->
+ <commons.rc.version>RC2</commons.rc.version>
<commons.binary.suffix>-bin</commons.binary.suffix>
<commons.jira.id>RNG</commons.jira.id>
[33/33] commons-rng git commit: Merge branch '1.1'
Posted by ch...@apache.org.
Merge branch '1.1'
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/7cc05c6d
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/7cc05c6d
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/7cc05c6d
Branch: refs/heads/master
Commit: 7cc05c6d8808a8ea69b3ae96a26e1a622a308010
Parents: 6216904 b45d6fb
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Aug 14 09:22:29 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Aug 14 09:22:29 2018 -0400
----------------------------------------------------------------------
README.md | 2 +-
RELEASE-NOTES.txt | 99 ++++++
commons-rng-client-api/pom.xml | 5 +-
commons-rng-client-api/src/site/site.xml | 2 +
commons-rng-core/pom.xml | 6 +-
commons-rng-core/src/site/site.xml | 2 +
commons-rng-examples/examples-jmh/pom.xml | 4 +-
.../examples-jpms/jpms-app/pom.xml | 6 +-
.../examples-jpms/jpms-lib/pom.xml | 4 +-
commons-rng-examples/examples-jpms/pom.xml | 4 +-
.../examples-quadrature/pom.xml | 4 +-
commons-rng-examples/examples-sampling/pom.xml | 4 +-
commons-rng-examples/examples-stress/pom.xml | 4 +-
commons-rng-examples/pom.xml | 10 +-
commons-rng-sampling/pom.xml | 10 +-
commons-rng-sampling/src/site/site.xml | 2 +
commons-rng-simple/pom.xml | 6 +-
commons-rng-simple/src/site/site.xml | 2 +
dist-archive/pom.xml | 342 ++++++++++++-------
dist-archive/src/assembly/bin.xml | 13 +
dist-archive/src/assembly/src.xml | 9 +-
pom.xml | 52 ++-
src/assembly/bin.xml | 45 +--
src/assembly/src.xml | 42 +--
src/changes/changes.xml | 24 +-
.../release-notes/RELEASE-NOTES-1.0.txt | 22 ++
.../release-notes/RELEASE-NOTES-1.1.txt | 99 ++++++
src/site/site.xml | 1 +
src/site/xdoc/download_rng.xml | 28 +-
src/site/xdoc/release-history.xml | 38 +++
30 files changed, 636 insertions(+), 255 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/7cc05c6d/src/changes/changes.xml
----------------------------------------------------------------------
[25/33] commons-rng git commit: RC5 -> RC6
Posted by ch...@apache.org.
RC5 -> RC6
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/73007170
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/73007170
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/73007170
Branch: refs/heads/master
Commit: 73007170865c7e7ce4d86bbdb56e4bd34dd9ce6f
Parents: cc2dbe7
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Aug 7 08:14:07 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Aug 7 08:14:07 2018 -0400
----------------------------------------------------------------------
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/73007170/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index adcefda..7af2b6d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,7 +90,7 @@
<commons.automatic.module.name>org.apache.commons.rng.parent</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
<commons.release.version>1.1</commons.release.version>
- <commons.rc.version>RC5</commons.rc.version>
+ <commons.rc.version>RC6</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
<commons.binary.suffix>-bin</commons.binary.suffix>
[30/33] commons-rng git commit: Preparing 1.1 RC7
Posted by ch...@apache.org.
Preparing 1.1 RC7
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/40fd7ad2
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/40fd7ad2
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/40fd7ad2
Branch: refs/heads/master
Commit: 40fd7ad244b350d657ca4f1a9efe667c52697327
Parents: a750416
Author: Rob Tompkins <ch...@gmail.com>
Authored: Fri Aug 10 21:00:42 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Fri Aug 10 21:00:42 2018 -0400
----------------------------------------------------------------------
RELEASE-NOTES.txt | 4 ++++
pom.xml | 2 +-
src/site/resources/release-notes/RELEASE-NOTES-1.1.txt | 4 ++++
3 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/40fd7ad2/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 230a1e7..a240cd9 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -47,6 +47,10 @@ o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler"
Implementation of "BoxMullerNormalizedGaussianSampler" deprecates
"BoxMullerGaussianSampler".
+Fixed Bugs:
+o RNG-53: Class "SamplerBase" has been deprecated. It was meant for internal use
+ only but, through inheritance, it allows incorrect usage of the sampler
+ classes.
Changes:
o RNG-50: "PoissonSampler": Algorithms for small mean and large mean have
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/40fd7ad2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7af2b6d..290b768 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,7 +90,7 @@
<commons.automatic.module.name>org.apache.commons.rng.parent</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
<commons.release.version>1.1</commons.release.version>
- <commons.rc.version>RC6</commons.rc.version>
+ <commons.rc.version>RC7</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
<commons.binary.suffix>-bin</commons.binary.suffix>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/40fd7ad2/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
----------------------------------------------------------------------
diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
index 230a1e7..a240cd9 100644
--- a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
@@ -47,6 +47,10 @@ o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler"
Implementation of "BoxMullerNormalizedGaussianSampler" deprecates
"BoxMullerGaussianSampler".
+Fixed Bugs:
+o RNG-53: Class "SamplerBase" has been deprecated. It was meant for internal use
+ only but, through inheritance, it allows incorrect usage of the sampler
+ classes.
Changes:
o RNG-50: "PoissonSampler": Algorithms for small mean and large mean have
[29/33] commons-rng git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/commons-rng into 1.1
Posted by ch...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-rng into 1.1
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/a750416f
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/a750416f
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/a750416f
Branch: refs/heads/master
Commit: a750416f37733fdb6bb0db2d6ff2b0f04cb6d409
Parents: e858b47 5a59427
Author: Rob Tompkins <ch...@gmail.com>
Authored: Fri Aug 10 10:13:25 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Fri Aug 10 10:13:25 2018 -0400
----------------------------------------------------------------------
.../AhrensDieterExponentialSampler.java | 15 ++++++++-----
.../AhrensDieterMarsagliaTsangGammaSampler.java | 17 ++++++++++-----
.../distribution/BoxMullerGaussianSampler.java | 15 ++++++++-----
.../distribution/BoxMullerLogNormalSampler.java | 23 +++++++++++++++++---
.../BoxMullerNormalizedGaussianSampler.java | 11 +++++-----
.../sampling/distribution/ChengBetaSampler.java | 15 ++++++++-----
.../distribution/ContinuousUniformSampler.java | 9 +++++---
.../distribution/DiscreteUniformSampler.java | 11 ++++++----
.../InverseTransformContinuousSampler.java | 11 +++++++---
.../InverseTransformDiscreteSampler.java | 11 +++++++---
.../InverseTransformParetoSampler.java | 9 +++++---
.../distribution/LargeMeanPoissonSampler.java | 11 ++++++----
.../MarsagliaNormalizedGaussianSampler.java | 11 +++++-----
.../sampling/distribution/PoissonSampler.java | 6 +++--
.../RejectionInversionZipfSampler.java | 9 +++++---
.../rng/sampling/distribution/SamplerBase.java | 5 +++++
.../distribution/SmallMeanPoissonSampler.java | 11 ++++++----
.../ZigguratNormalizedGaussianSampler.java | 17 ++++++++-------
src/changes/changes.xml | 17 ++++++++-------
19 files changed, 154 insertions(+), 80 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/a750416f/src/changes/changes.xml
----------------------------------------------------------------------
[22/33] commons-rng git commit: site download_rng.xml md5->sha256
Posted by ch...@apache.org.
site download_rng.xml md5->sha256
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/f7354686
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/f7354686
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/f7354686
Branch: refs/heads/master
Commit: f73546863611e5dd850fd311277f2019259489ce
Parents: 288c8b5
Author: Rob Tompkins <ch...@gmail.com>
Authored: Wed Aug 1 12:02:41 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Wed Aug 1 12:02:41 2018 -0400
----------------------------------------------------------------------
src/site/xdoc/download_rng.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/f7354686/src/site/xdoc/download_rng.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/download_rng.xml b/src/site/xdoc/download_rng.xml
index 88e7f84..32e52bc 100644
--- a/src/site/xdoc/download_rng.xml
+++ b/src/site/xdoc/download_rng.xml
@@ -102,7 +102,7 @@ limitations under the License.
It is essential that you
<a href="https://www.apache.org/info/verification.html">verify the integrity</a>
of downloaded files, preferably using the <code>PGP</code> signature (<code>*.asc</code> files);
- failing that using the <code>MD5</code> hash (<code>*.md5</code> checksum files).
+ failing that using the <code>SHA256</code> hash (<code>*.SHA256</code> checksum files).
</p>
<p>
The <a href="https://www.apache.org/dist/commons/KEYS">KEYS</a>
@@ -116,12 +116,12 @@ limitations under the License.
<table>
<tr>
<td><a href="[preferred]/commons/rng/binaries/commons-rng-1.1-bin.tar.gz">commons-rng-1.1-bin.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.sha256">sha256</a></td>
<td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
<td><a href="[preferred]/commons/rng/binaries/commons-rng-1.1-bin.zip">commons-rng-1.1-bin.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.zip.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.zip.sha256">sha256</a></td>
<td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.zip.asc">pgp</a></td>
</tr>
</table>
@@ -130,12 +130,12 @@ limitations under the License.
<table>
<tr>
<td><a href="[preferred]/commons/rng/source/commons-rng-1.1-src.tar.gz">commons-rng-1.1-src.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.tar.gz.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.tar.gz.sha256">sha256</a></td>
<td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
<td><a href="[preferred]/commons/rng/source/commons-rng-1.1-src.zip">commons-rng-1.1-src.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.zip.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.zip.sha256">sha256</a></td>
<td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.zip.asc">pgp</a></td>
</tr>
</table>
[03/33] commons-rng git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/commons-rng into 1.1
Posted by ch...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-rng into 1.1
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/aa8f1966
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/aa8f1966
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/aa8f1966
Branch: refs/heads/master
Commit: aa8f1966b660772c62f8851d50550130a6492d36
Parents: e41874f f33ea24
Author: Rob Tompkins <ch...@gmail.com>
Authored: Fri Jul 13 15:03:08 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Fri Jul 13 15:03:08 2018 -0400
----------------------------------------------------------------------
src/site/apt/userguide/rng.apt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
[26/33] commons-rng git commit: Reinstate base class to avoid BC
breaking.
Posted by ch...@apache.org.
Reinstate base class to avoid BC breaking.
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/50b984b1
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/50b984b1
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/50b984b1
Branch: refs/heads/master
Commit: 50b984b1d59d7c0a18dde8e6eb55a8036db1f876
Parents: 7300717
Author: Gilles <er...@apache.org>
Authored: Wed Aug 8 13:13:47 2018 +0200
Committer: Gilles <er...@apache.org>
Committed: Wed Aug 8 13:16:22 2018 +0200
----------------------------------------------------------------------
.../apache/commons/rng/sampling/distribution/PoissonSampler.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/50b984b1/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
index cd9187a..d0733ba 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
@@ -37,6 +37,7 @@ import org.apache.commons.rng.UniformRandomProvider;
* </ul>
*/
public class PoissonSampler
+ extends SamplerBase
implements DiscreteSampler {
/** Value for switching sampling algorithm. */
@@ -51,6 +52,8 @@ public class PoissonSampler
*/
public PoissonSampler(UniformRandomProvider rng,
double mean) {
+ super(rng);
+
// Delegate all work to specialised samplers.
// These should check the input arguments.
poissonSampler = mean < PIVOT ?
[31/33] commons-rng git commit: Updates for publishing the site
Posted by ch...@apache.org.
Updates for publishing the site
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/986ab303
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/986ab303
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/986ab303
Branch: refs/heads/master
Commit: 986ab303e1c81e37f7b8c1c8ab59e054a62c785f
Parents: 40fd7ad
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Aug 14 08:21:48 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Aug 14 08:21:48 2018 -0400
----------------------------------------------------------------------
pom.xml | 10 ++++++----
src/changes/changes.xml | 2 +-
src/site/xdoc/release-history.xml | 2 +-
3 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/986ab303/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 290b768..4260cfa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,15 +58,17 @@
<id>erans</id>
<email>erans at apache dot org</email>
</developer>
+ <developer>
+ <name>Rob Tompkins</name>
+ <id>chtompki</id>
+ <email>chtompki at apache dot org</email>
+ </developer>
</developers>
<contributors>
<contributor>
<name>Artem Barger</name>
</contributor>
- <contributor>
- <name>Rob Tompkins</name>
- </contributor>
</contributors>
<dependencies>
@@ -90,7 +92,7 @@
<commons.automatic.module.name>org.apache.commons.rng.parent</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
<commons.release.version>1.1</commons.release.version>
- <commons.rc.version>RC7</commons.rc.version>
+ <commons.rc.version>RC1</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
<commons.binary.suffix>-bin</commons.binary.suffix>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/986ab303/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d0c0c1c..d1219b9 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,7 +51,7 @@ If the output is not quite correct, check for invisible trailing spaces!
</properties>
<body>
- <release version="1.1" date="2018-08-06" description="
+ <release version="1.1" date="2018-08-14" description="
This is a minor release of Apache Commons RNG, containing a
few new features and performance improvements.
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/986ab303/src/site/xdoc/release-history.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/release-history.xml b/src/site/xdoc/release-history.xml
index 884c885..0306cac 100644
--- a/src/site/xdoc/release-history.xml
+++ b/src/site/xdoc/release-history.xml
@@ -25,7 +25,7 @@ limitations under the License.
<table>
<tr><th>Version</th><th>Release date (YYYY-MM-DD)</th><th>Required Java Version</th><th>Release notes</th></tr>
<tr>
- <td>1.1</td><td>2018-07-17</td><td>6+</td><td><a href="release-notes/RELEASE-NOTES-1.1.txt">release notes for 1.1</a></td>
+ <td>1.1</td><td>2018-08-14</td><td>6+</td><td><a href="release-notes/RELEASE-NOTES-1.1.txt">release notes for 1.1</a></td>
</tr>
<tr>
<td>1.0</td><td>2016-12-13</td><td>6+</td><td><a href="release-notes/RELEASE-NOTES-1.0.txt">release notes for 1.0</a></td>
[18/33] commons-rng git commit: Ensure that build works on 6,
and -Pcommons-rng-examples has depenendencies
Posted by ch...@apache.org.
Ensure that build works on 6, and -Pcommons-rng-examples has depenendencies
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/b2c99eb4
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/b2c99eb4
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/b2c99eb4
Branch: refs/heads/master
Commit: b2c99eb42513dff42023fb756c60e06248789c44
Parents: 090ab54
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jul 31 10:36:41 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jul 31 10:36:41 2018 -0400
----------------------------------------------------------------------
pom.xml | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b2c99eb4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3ff5d1a..8e272b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -575,10 +575,27 @@
<profile>
<id>commons-rng-examples</id>
<modules>
+ <module>commons-rng-client-api</module>
+ <module>commons-rng-core</module>
+ <module>commons-rng-simple</module>
+ <module>commons-rng-sampling</module>
<module>commons-rng-examples</module>
</modules>
</profile>
+
+ <profile>
+ <id>release</id>
+ <modules>
+ <module>commons-rng-client-api</module>
+ <module>commons-rng-core</module>
+ <module>commons-rng-simple</module>
+ <module>commons-rng-sampling</module>
+ <module>commons-rng-examples</module>
+ <module>dist-archive</module>
+ </modules>
+ </profile>
+
</profiles>
<modules>
@@ -586,8 +603,6 @@
<module>commons-rng-core</module>
<module>commons-rng-simple</module>
<module>commons-rng-sampling</module>
- <module>commons-rng-examples</module>
- <module>dist-archive</module>
<!--
Built only upon explicit request (requires Java 1.7+).
See profile "commons-rng-examples".
[28/33] commons-rng git commit: Revert "Adding PoissonSampler
deprecations. Use the correct faster public methods"
Posted by ch...@apache.org.
Revert "Adding PoissonSampler deprecations. Use the correct faster public methods"
This reverts commit f8159f28a52197d0e7b55e39b115702147cf57a0.
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/e858b47a
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/e858b47a
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/e858b47a
Branch: refs/heads/master
Commit: e858b47a5101928ecd033e474801d1d72417283c
Parents: f8159f2
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Aug 9 08:44:45 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Aug 9 08:44:45 2018 -0400
----------------------------------------------------------------------
.../sampling/distribution/PoissonSampler.java | 42 --------------------
1 file changed, 42 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/e858b47a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
index 29d0e4e..d0733ba 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
@@ -67,48 +67,6 @@ public class PoissonSampler
return poissonSampler.sample();
}
- /**
- * @return a random value from a uniform distribution in the
- * interval {@code [0, 1)}.
- * @deprecated - one should be using the {@link PoissonSampler#sample()} method,
- * as it is considerably faster.
- */
- @Deprecated
- protected double nextDouble() {
- return super.nextDouble();
- }
-
- /**
- * @return a random {@code int} value.
- * @deprecated - one should be using the {@link PoissonSampler#sample()} method,
- * as it is considerably faster.
- */
- @Deprecated
- protected int nextInt() {
- return super.nextInt();
- }
-
- /**
- * @param max Upper bound (excluded).
- * @return a random {@code int} value in the interval {@code [0, max)}.
- * @deprecated - one should be using the {@link PoissonSampler#sample()} method,
- * * as it is considerably faster.
- */
- @Deprecated
- protected int nextInt(int max) {
- return super.nextInt(max);
- }
-
- /**
- * @return a random {@code long} value.
- * @deprecated - one should be using the {@link PoissonSampler#sample()} method,
- * * as it is considerably faster.
- */
- @Deprecated
- protected long nextLong() {
- return super.nextLong();
- }
-
/** {@inheritDoc} */
@Override
public String toString() {
[07/33] commons-rng git commit: rat exclude target and site-content
Posted by ch...@apache.org.
rat exclude target and site-content
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/294cf4c3
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/294cf4c3
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/294cf4c3
Branch: refs/heads/master
Commit: 294cf4c33506b8e4503100fec93ad1bbf532629e
Parents: c519b50
Author: Rob Tompkins <ch...@gmail.com>
Authored: Wed Jul 18 08:49:20 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Wed Jul 18 08:49:20 2018 -0400
----------------------------------------------------------------------
pom.xml | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/294cf4c3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 19b3c4a..3683bc7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -222,6 +222,8 @@
<!-- version 0.8 of apache-rat-plugin does not exclude properly
some default development tools files (see RAT-126) -->
<exclude>.ekstazi/**</exclude>
+ <exclude>**/site-content/**</exclude>
+ <exclude>**/target/**</exclude>
<exclude>src/site/resources/txt/userguide/stress/dh/**</exclude>
<exclude>src/site/resources/txt/userguide/stress/tu/**</exclude>
<exclude>dist-archive/**</exclude>
[06/33] commons-rng git commit: Preparing site for 1.1 release
Posted by ch...@apache.org.
Preparing site for 1.1 release
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/c519b506
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/c519b506
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/c519b506
Branch: refs/heads/master
Commit: c519b506116fc33e6f99b9ff2c4246c8d730d4b9
Parents: 97c6e2d
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jul 17 08:11:37 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jul 17 08:11:37 2018 -0400
----------------------------------------------------------------------
README.md | 2 +-
RELEASE-NOTES.txt | 67 ++++++++++++++++++++
commons-rng-client-api/src/site/site.xml | 2 +
commons-rng-core/src/site/site.xml | 2 +
commons-rng-sampling/src/site/site.xml | 2 +
commons-rng-simple/src/site/site.xml | 2 +
.../release-notes/RELEASE-NOTES-1.0.txt | 22 +++++++
src/site/site.xml | 1 +
src/site/xdoc/download_rng.xml | 26 ++++----
src/site/xdoc/release-history.xml | 38 +++++++++++
10 files changed, 150 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 733614c..485739d 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@ Alternatively you can pull it from the central Maven repositories:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng</artifactId>
- <version>1.0</version>
+ <version>1.1</version>
</dependency>
```
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index e69de29..eaaedc5 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -0,0 +1,67 @@
+ Apache Commons RNG 1.1 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the commons-rng-parent-1.1 release!
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+Changes in this version include:
+
+New features:
+o RNG-37: Implementation of the "Ziggurat" algorithm for Gaussian sampling.
+o RNG-47: "DiscreteProbabilityCollectionSampler": Sampling from a collection of items
+ with user-defined probabilities (feature ported from "Commons Math").
+o RNG-43: "LogNormalSampler" with user-defined underlying "NormalizedGaussianSampler".
+o RNG-39: "UnitSphereSampler": generate random vectors isotropically located
+ on the surface of a sphere (feature ported from "Commons Math").
+o RNG-36: "MarsagliaNormalizedGaussianSampler": Faster variation of the
+ Box-Muller algorithm.
+ This version is used within "AhrensDieterMarsagliaTsangGammaSampler"
+ "MarsagliaLogNormalSampler" and "PoissonSampler" (generated sequences
+ will thus differ from those generated by version 1.0 of the library).
+o RNG-35: New generic "GaussianSampler" based on "NormalizedGaussianSampler"
+ marker interface.
+ Implementation of "BoxMullerNormalizedGaussianSampler" deprecates
+ "BoxMullerGaussianSampler".
+
+
+Changes:
+o RNG-42: Use "ZigguratNormalizedGaussianSampler" within the library.
+o RNG-46: Following RNG-43, "BoxMullerLogNormalSampler" has been deprecated.
+ Furthermore, its base class has been removed; although it is a binary
+ incompatibility, it cannot cause any problem that were not already
+ present in code using v1.0 of the library: Calls to the base class
+ would have raised a NPE.
+
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
+
+-----------------------------------------------------------------------------
+
+ Apache Commons RNG 1.0 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.0
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+This is the first release of Apache Commons RNG.
+Apache Commons RNG 1.0 contains the following modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+ commons-rng-jmh (requires Java 6)
+ commons-rng-examples (requires Java 7)
+
+No changes defined in this version.
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
+
+
+Have fun!
+-Apache Commons RNG team
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/commons-rng-client-api/src/site/site.xml
----------------------------------------------------------------------
diff --git a/commons-rng-client-api/src/site/site.xml b/commons-rng-client-api/src/site/site.xml
index 8869459..780bfef 100644
--- a/commons-rng-client-api/src/site/site.xml
+++ b/commons-rng-client-api/src/site/site.xml
@@ -27,6 +27,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/rng/commons-rng-client-api/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/rng/commons-rng-client-api/javadocs/api-1.0/index.html"/>
</menu>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/commons-rng-core/src/site/site.xml
----------------------------------------------------------------------
diff --git a/commons-rng-core/src/site/site.xml b/commons-rng-core/src/site/site.xml
index a535820..2585a37 100644
--- a/commons-rng-core/src/site/site.xml
+++ b/commons-rng-core/src/site/site.xml
@@ -27,6 +27,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/rng/commons-rng-core/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/rng/commons-rng-core/javadocs/api-1.0/index.html"/>
</menu>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/commons-rng-sampling/src/site/site.xml
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/site/site.xml b/commons-rng-sampling/src/site/site.xml
index 5fac238..16589a8 100644
--- a/commons-rng-sampling/src/site/site.xml
+++ b/commons-rng-sampling/src/site/site.xml
@@ -27,6 +27,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/rng/commons-rng-sampling/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/rng/commons-rng-sampling/javadocs/api-1.0/index.html"/>
</menu>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/commons-rng-simple/src/site/site.xml
----------------------------------------------------------------------
diff --git a/commons-rng-simple/src/site/site.xml b/commons-rng-simple/src/site/site.xml
index d8a7d3c..bce8bfd 100644
--- a/commons-rng-simple/src/site/site.xml
+++ b/commons-rng-simple/src/site/site.xml
@@ -27,6 +27,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/rng/commons-rng-simple/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/rng/commons-rng-simple/javadocs/api-1.0/index.html"/>
</menu>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt
----------------------------------------------------------------------
diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt
new file mode 100644
index 0000000..bec7c44
--- /dev/null
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.0.txt
@@ -0,0 +1,22 @@
+
+ Apache Commons RNG 1.0 RELEASE NOTES
+
+The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.0
+
+The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
+
+This is the first release of Apache Commons RNG.
+Apache Commons RNG 1.0 contains the following modules:
+ commons-rng-client-api (requires Java 6)
+ commons-rng-core (requires Java 6)
+ commons-rng-simple (requires Java 6)
+ commons-rng-sampling (requires Java 6)
+ commons-rng-jmh (requires Java 6)
+ commons-rng-examples (requires Java 7)
+
+No changes defined in this version.
+
+For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons RNG website:
+
+http://commons.apache.org/proper/commons-rng/
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
index 61df18d..1027428 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -32,6 +32,7 @@
<!-- <item name="Wiki" -->
<!-- href="http://wiki.apache.org/commons/RNG"/> -->
<item name="Developers Guide" href="/developers.html"/>
+ <item name="Release History" href="/release-history.html" />
</menu>
<menu name="User Guide">
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/src/site/xdoc/download_rng.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/download_rng.xml b/src/site/xdoc/download_rng.xml
index e8890a0..88e7f84 100644
--- a/src/site/xdoc/download_rng.xml
+++ b/src/site/xdoc/download_rng.xml
@@ -111,32 +111,32 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons RNG 1.0 (requires Java 6+)">
+ <section name="Apache Commons RNG 1.1 (requires Java 6+)">
<subsection name="Binaries">
<table>
<tr>
- <td><a href="[preferred]/commons/rng/binaries/commons-rng-1.0-bin.tar.gz">commons-rng-1.0-bin.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.0-bin.tar.gz.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.0-bin.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/rng/binaries/commons-rng-1.1-bin.tar.gz">commons-rng-1.1-bin.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/rng/binaries/commons-rng-1.0-bin.zip">commons-rng-1.0-bin.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.0-bin.zip.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.0-bin.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/rng/binaries/commons-rng-1.1-bin.zip">commons-rng-1.1-bin.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.zip.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/binaries/commons-rng-1.1-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a href="[preferred]/commons/rng/source/commons-rng-1.0-src.tar.gz">commons-rng-1.0-src.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.0-src.tar.gz.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.0-src.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/rng/source/commons-rng-1.1-src.tar.gz">commons-rng-1.1-src.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.tar.gz.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/rng/source/commons-rng-1.0-src.zip">commons-rng-1.0-src.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.0-src.zip.md5">md5</a></td>
- <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.0-src.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/rng/source/commons-rng-1.1-src.zip">commons-rng-1.1-src.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.zip.md5">md5</a></td>
+ <td><a href="https://www.apache.org/dist/commons/rng/source/commons-rng-1.1-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c519b506/src/site/xdoc/release-history.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/release-history.xml b/src/site/xdoc/release-history.xml
new file mode 100644
index 0000000..884c885
--- /dev/null
+++ b/src/site/xdoc/release-history.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<document>
+ <properties>
+ <title>Home</title>
+ <author email="dev@commons.apache.org">Commons Documentation Team</author>
+ </properties>
+ <body>
+ <!-- ================================================== -->
+ <section name="Commons Text Release History">
+ <p><em>Note.</em> For older javadocs see the individal artifact sub-sites.</p>
+ <table>
+ <tr><th>Version</th><th>Release date (YYYY-MM-DD)</th><th>Required Java Version</th><th>Release notes</th></tr>
+ <tr>
+ <td>1.1</td><td>2018-07-17</td><td>6+</td><td><a href="release-notes/RELEASE-NOTES-1.1.txt">release notes for 1.1</a></td>
+ </tr>
+ <tr>
+ <td>1.0</td><td>2016-12-13</td><td>6+</td><td><a href="release-notes/RELEASE-NOTES-1.0.txt">release notes for 1.0</a></td>
+ </tr>
+ </table>
+
+ </section>
+ <!-- ================================================== -->
+ </body>
+</document>
\ No newline at end of file
[14/33] commons-rng git commit: Move depenencies to profile block in
dist
Posted by ch...@apache.org.
Move depenencies to profile block in dist
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/b400ab3d
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/b400ab3d
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/b400ab3d
Branch: refs/heads/master
Commit: b400ab3d96409352bdf692026c202a0937b9471a
Parents: 6a937e8
Author: Rob Tompkins <ch...@gmail.com>
Authored: Wed Jul 25 12:50:16 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Wed Jul 25 12:50:16 2018 -0400
----------------------------------------------------------------------
dist-archive/pom.xml | 381 +++++++++++++++++++++++-----------------------
1 file changed, 191 insertions(+), 190 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/b400ab3d/dist-archive/pom.xml
----------------------------------------------------------------------
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index 3117a0d..757d7d2 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -48,197 +48,7 @@ under the License.
<commons.releaseManagerKey>B6E73D84EA4FCC47166087253FAAD2CD5ECBB314</commons.releaseManagerKey>
</properties>
- <dependencies>
- <!-- Module: Client API -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-client-api</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Core -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-core</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-core</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-core</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Simple -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-simple</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Sampling -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-sampling</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-sampling</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-sampling</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Examples - JMH -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jmh</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Examples - JPMS -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jpms-app</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-jpms-lib</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Examples - Quadrature -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-quadrature</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Examples - Sampling -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-sampling</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- <!-- Module: Examples - Stress -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-examples-stress</artifactId>
- <version>1.1</version>
- <classifier>javadoc</classifier>
- </dependency>
-
- </dependencies>
<build>
<plugins>
@@ -255,6 +65,197 @@ under the License.
<profile>
<id>release</id>
+ <dependencies>
+
+ <!-- Module: Client API -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-client-api</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-client-api</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-client-api</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Core -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-core</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-core</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-core</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Simple -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-simple</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-simple</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-simple</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Sampling -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-sampling</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - JMH -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jmh</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - JPMS -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-app</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-jpms-lib</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - Quadrature -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-quadrature</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - Sampling -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-sampling</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ <!-- Module: Examples - Stress -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
+ <classifier>sources</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-examples-stress</artifactId>
+ <version>1.1</version>
+ <classifier>javadoc</classifier>
+ </dependency>
+
+ </dependencies>
<build>
<plugins>
<plugin>
[05/33] commons-rng git commit: Merge branch '1.1' of
https://git-wip-us.apache.org/repos/asf/commons-rng into 1.1
Posted by ch...@apache.org.
Merge branch '1.1' of https://git-wip-us.apache.org/repos/asf/commons-rng into 1.1
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/97c6e2de
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/97c6e2de
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/97c6e2de
Branch: refs/heads/master
Commit: 97c6e2de56d26b41e7a43f78d8e9ae834b594561
Parents: ffe585f b89752b
Author: Rob Tompkins <ch...@gmail.com>
Authored: Mon Jul 16 08:18:40 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Mon Jul 16 08:18:40 2018 -0400
----------------------------------------------------------------------
----------------------------------------------------------------------
[17/33] commons-rng git commit: Update to RC4
Posted by ch...@apache.org.
Update to RC4
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/090ab546
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/090ab546
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/090ab546
Branch: refs/heads/master
Commit: 090ab546025731903c2a6e267e5c4a35c1a1782e
Parents: 2b39152
Author: Rob Tompkins <ch...@gmail.com>
Authored: Tue Jul 31 10:10:17 2018 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Tue Jul 31 10:10:17 2018 -0400
----------------------------------------------------------------------
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/090ab546/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e6de374..3ff5d1a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,7 +90,7 @@
<commons.automatic.module.name>org.apache.commons.rng.parent</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
<commons.release.version>1.1</commons.release.version>
- <commons.rc.version>RC3</commons.rc.version>
+ <commons.rc.version>RC4</commons.rc.version>
<commons.release.desc>(requires Java 6+)</commons.release.desc>
<commons.binary.suffix>-bin</commons.binary.suffix>