[ 
https://issues.apache.org/jira/browse/MATH-1597?focusedWorklogId=604253&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-604253
 ]

ASF GitHub Bot logged work on MATH-1597:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/May/21 18:39
            Start Date: 31/May/21 18:39
    Worklog Time Spent: 10m 
      Work Description: samyBadjoudj opened a new pull request #187:
URL: https://github.com/apache/commons-math/pull/187


   Proposal
   LowDiscrepancySequence supplier for Halton and Sobol
   LowDiscrepancySequence as SkippableSequence,
   Align RandomVectorGenerator as a supplier,


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 604253)
    Remaining Estimate: 0h
            Time Spent: 10m

> Low-discrepancy sequence
> ------------------------
>
>                 Key: MATH-1597
>                 URL: https://issues.apache.org/jira/browse/MATH-1597
>             Project: Commons Math
>          Issue Type: Sub-task
>            Reporter: Gilles Sadowski
>            Priority: Minor
>             Fix For: 4.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Two low-discrepancy sequences are implemented in Commons Math (in package 
> {{o.a.c.math4.legacy.random}}:
> * {{SobolSequenceGenerator}}
> * {{HaltonSequenceGenerator}}
> They both provide several methods:
> * {{nextVector()}}
> * {{skipTo(int)}}
> * {{getNextIndex()}}
> of which only the first is part of their common API through the 
> {{RandomVectorGenerator}}.
> I propose to create an interface that would better represent the specific 
> concept (and avoid the confusion with pseudo-random generators):
> {code}
> public interface LowDiscrepancySequence extends Supplier<double[]> { /* ... 
> */}
> {code}
> Thus, instead of class {{SobolSequenceGenerator}} we'd have:
> {code}
> public class SobolSequence implements LowDiscrepancySequence {
>     // ...
> }
> {code}
> This functionality could be moved to a new {{o.a.c.m.legacy.quasirandom}} 
> package (?).
> Method {{skipTo}} could be replaced with an API similar to Commons RNG 
> {{JumpableUniformRandomProvider}} (?).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to