Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1348

Provide an adaptor that is a subclass of "java.util.Random"

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Some utilities of the JDK require a java.util.Random as an argument (e.g. method "shuffle" in java.util.Collections.

      In order to use such utilities but with the actual RNG delegated to alternative algorithms (i.e. those provided in CM), we have to extend Random, overriding all the generation methods.

      The adaptor will be similar to o.a.c.m.random.RandomAdaptor but for o.a.c.m.rng.UniformRandomProvider instead of o.a.c.m.random.RandomGenerator.

        Attachments

          Activity

            People

            • Assignee:
              erans Gilles
              Reporter:
              erans Gilles
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: