public class DiscreteUniformDistribution extends DiscreteDistribution
Modifier and Type | Field and Description |
---|---|
int |
interval |
int |
lowerBound |
rng
Constructor and Description |
---|
DiscreteUniformDistribution(int lowerBound,
int upperBound) |
DiscreteUniformDistribution(int lowerBound,
int upperBound,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
int |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public DiscreteUniformDistribution(int lowerBound, int upperBound, RandomNumberGenerator rng)
public DiscreteUniformDistribution(int lowerBound, int upperBound)
public int next()
DiscreteDistribution
next
in class DiscreteDistribution