You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/01 14:56:00 UTC

[jira] [Work logged] (MATH-1597) Low-discrepancy sequence

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

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

                Author: ASF GitHub Bot
            Created on: 01/Jun/21 14:55
            Start Date: 01/Jun/21 14:55
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #187:
URL: https://github.com/apache/commons-math/pull/187#issuecomment-852192805


   
   [![Coverage Status](https://coveralls.io/builds/40205845/badge)](https://coveralls.io/builds/40205845)
   
   Coverage decreased (-0.01%) to 90.362% when pulling **645f2f5493fc64b9d04d4b42325689788498ddf3 on samyBadjoudj:feature/MATH-1597** into **787d42ef07e6dc8d7aa47a9156d851281a7f2954 on apache:master**.
   


-- 
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:
users@infra.apache.org


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

    Worklog Id:     (was: 604545)
    Time Spent: 20m  (was: 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: 20m
>  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)