R - Type of the sampler.public interface SharedStateSampler<R>
| Modifier and Type | Method and Description |
|---|---|
R |
withUniformRandomProvider(UniformRandomProvider rng)
Create a new instance of the sampler with the same underlying state using the given
uniform random provider as the source of randomness.
|
R withUniformRandomProvider(UniformRandomProvider rng)
rng - Generator of uniformly distributed random numbers.Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.