Skip to content

Why two classes PMLinearCongruentialRandomGenerator and PMCongruentialRandomNumberGenerator? #219

Description

@SergeStinckwich

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions