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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • None
    • None
    • None

    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

            erans Gilles Sadowski
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: