PolyMath icon indicating copy to clipboard operation
PolyMath copied to clipboard

Why two classes ``PMLinearCongruentialRandomGenerator`` and ``PMCongruentialRandomNumberGenerator``?

Open SergeStinckwich opened this issue 4 years ago • 0 comments

There are two classes that looks quite similar: PMLinearCongruentialRandomGenerator (subclass of Object) and PMCongruentialRandomNumberGenerator (subclass of PMPseudoRandomNumberGenerator). Apparently the first one is coming from DHB book, the origin of the second is unclear. We should find a way to combine them in one class in the PMCongruentialRandomNumberGenerator class hierarchy.

Same problem with PMMitchellMooreGenerator who is a subclass of Object and not PMPseudoRandomNumberGenerator.

Same problem with PMMarsagliaKissRandomKernel who is a subclass of Object and PMMarsagliaKissRandomKernel a subclass of PMPseudoRandomNumberGenerator.

SergeStinckwich avatar Aug 09 '21 06:08 SergeStinckwich