public class SlottedDistribution extends ContinuousDistribution
Modifier and Type | Field and Description |
---|---|
DiscreteDistribution |
noOfSlotsDist |
double |
slotDuration |
rng
Constructor and Description |
---|
SlottedDistribution(DiscreteDistribution noOfSlotsDist,
double slotDuration) |
Modifier and Type | Method and Description |
---|---|
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final DiscreteDistribution noOfSlotsDist
public final double slotDuration
public SlottedDistribution(DiscreteDistribution noOfSlotsDist, double slotDuration)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution