Re: [rng] SharedStateSampler

2019-07-19 Thread Gilles Sadowski
Le ven. 19 juil. 2019 à 16:47, Alex Herbert a écrit : > > On 19/07/2019 15:09, Gilles Sadowski wrote: > > Hi. > > > > Le ven. 19 juil. 2019 à 15:31, Alex Herbert a > > écrit : > >> On 19/07/2019 14:15, Gilles Sadowski wrote: > >>> Hello. > >>> > >>> Le ven. 19 juil. 2019 à 14:27, Alex Herbert a

Re: [rng] SharedStateSampler

2019-07-19 Thread Alex Herbert
On 19/07/2019 15:09, Gilles Sadowski wrote: Hi. Le ven. 19 juil. 2019 à 15:31, Alex Herbert a écrit : On 19/07/2019 14:15, Gilles Sadowski wrote: Hello. Le ven. 19 juil. 2019 à 14:27, Alex Herbert a écrit : One principle reason for SharedStateDiscreteSampler and SharedStateContinuousSample

Re: [rng] SharedStateSampler

2019-07-19 Thread Gilles Sadowski
Hi. Le ven. 19 juil. 2019 à 15:31, Alex Herbert a écrit : > > On 19/07/2019 14:15, Gilles Sadowski wrote: > > Hello. > > > > Le ven. 19 juil. 2019 à 14:27, Alex Herbert a > > écrit : > >> One principle reason for SharedStateDiscreteSampler > >> and SharedStateContinuousSampler is to simplify th

Re: [rng] SharedStateSampler

2019-07-19 Thread Alex Herbert
On 19/07/2019 14:15, Gilles Sadowski wrote: Hello. Le ven. 19 juil. 2019 à 14:27, Alex Herbert a écrit : One principle reason for SharedStateDiscreteSampler and SharedStateContinuousSampler is to simplify the current design approach for samplers that use internal delegates to provide optimised

Re: [rng] SharedStateSampler

2019-07-19 Thread Gilles Sadowski
Hello. Le ven. 19 juil. 2019 à 14:27, Alex Herbert a écrit : > > One principle reason for SharedStateDiscreteSampler > and SharedStateContinuousSampler is to simplify the current design approach > for samplers that use internal delegates to provide optimised algorithms. > However this creates an

Re: [rng] SharedStateSampler

2019-07-19 Thread Alex Herbert
One principle reason for SharedStateDiscreteSampler and SharedStateContinuousSampler is to simplify the current design approach for samplers that use internal delegates to provide optimised algorithms. However this creates an inefficient outer class that is just wrapping the implementation. The id

[rng] SharedStateSampler

2019-07-19 Thread Alex Herbert
This interface has been added in v1.3: /** * Applies to samplers that can share state between instances. Samplers can be created with a * new source of randomness that sample from the same state. * * @param Type of the sampler. * @since 1.3 */ public interface SharedStateSampler { /**