Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
It is proposed to refactor the whole package in order to fix the various problems mentioned in recent issues and discussions
concerning the random number generators.
For background, please refer to the separate reports on the issue tracking system, and on the "dev" ML.
The main goals are:
- Make it clear that implementations do not generate an arbitrary number of bits (at the request of the user); but rather as fixed size chunks (i.e. 32 bits, a.k.a. Java "int" type).
- Allow implementations that generate 64 bits chunks (a.k.a. Java "long" type).
- Separate the generation of sequences (for all Java primitive types) that are uniformly distributed (in the range of the corresponding type) from all further processing (e.g. required to match other distributions).
Attachments
Issue Links
- relates to
-
MATH-1341 "RandomDataGenerator" is brittle
- Resolved
- supercedes
-
MATH-1309 RNG: public "setSeed" method should not be called from inside the constructor
- Resolved
-
MATH-1304 "nextBytes" methods in RNG implementations
- Resolved
-
MATH-1306 Add public void nextBytes(byte[] bytes, int position, int length) method into the RandomGenerator interface
- Resolved
-
MATH-734 Code cleanup: "ISAACRandom"
- Resolved
-
MATH-1307 Create a base class for all RNGs
- Resolved
-
MATH-1324 RNGs implement "Serializable" (package "o.a.cm.random")
- Resolved
-
MATH-1308 Deprecate and remove "AbstractRandomGenerator"
- Resolved
1.
|
Factor out RNG implementations | Resolved | Gilles Sadowski | |
2.
|
"ValueServer" has various shortcomings | Resolved | Unassigned | |
3.
|
Replace usage (within CM) of old RNG API | Resolved | Gilles Sadowski | |
4.
|
Move "EmpiricalDistribution" to "o.a.c.m.distribution" | Resolved | Gilles Sadowski |