@Deprecated public class SamplerBase extends Object
Modifier | Constructor and Description |
---|---|
protected |
SamplerBase(UniformRandomProvider rng)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected double |
nextDouble()
Deprecated.
|
protected int |
nextInt()
Deprecated.
|
protected int |
nextInt(int max)
Deprecated.
|
protected long |
nextLong()
Deprecated.
|
String |
toString()
Deprecated.
|
protected SamplerBase(UniformRandomProvider rng)
rng
- Generator of uniformly distributed random numbers.protected double nextDouble()
[0, 1)
.protected int nextInt()
int
value.protected int nextInt(int max)
max
- Upper bound (excluded).int
value in the interval [0, max)
.protected long nextLong()
long
value.Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.