public class DiscreteTransformedDistribution extends DiscreteDistribution
Modifier and Type | Field and Description |
---|---|
DiscreteDistribution |
baseDist |
int |
factor |
int |
offset |
rng
Constructor and Description |
---|
DiscreteTransformedDistribution(DiscreteDistribution baseDist) |
DiscreteTransformedDistribution(DiscreteDistribution baseDist,
int offset) |
DiscreteTransformedDistribution(DiscreteDistribution baseDist,
int offset,
int factor) |
Modifier and Type | Method and Description |
---|---|
int |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final DiscreteDistribution baseDist
public final int offset
public final int factor
public DiscreteTransformedDistribution(DiscreteDistribution baseDist, int offset, int factor)
public DiscreteTransformedDistribution(DiscreteDistribution baseDist, int offset)
public DiscreteTransformedDistribution(DiscreteDistribution baseDist)
public int next()
DiscreteDistribution
next
in class DiscreteDistribution