commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-1348) Provide an adaptor that is a subclass of "java.util.Random"
Date Sat, 26 Mar 2016 18:40:25 GMT
Gilles created MATH-1348:
----------------------------

             Summary: Provide an adaptor that is a subclass of "java.util.Random"
                 Key: MATH-1348
                 URL: https://issues.apache.org/jira/browse/MATH-1348
             Project: Commons Math
          Issue Type: Sub-task
            Reporter: Gilles
            Assignee: Gilles
            Priority: Minor
             Fix For: 4.0


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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message