public class OnOffInfinityDistribution extends ContinuousDistribution
Modifier and Type | Class and Description |
---|---|
static class |
OnOffInfinityDistribution.BurstData |
Modifier and Type | Field and Description |
---|---|
ContinuousDistribution |
burstIATDist |
DiscreteDistribution |
burstLengthDist |
java.util.Queue<OnOffInfinityDistribution.BurstData> |
burstList |
double |
interCellTime |
rng
Constructor and Description |
---|
OnOffInfinityDistribution(DiscreteDistribution burstLengthDist,
ContinuousDistribution burstIATDist,
double interCellTime) |
OnOffInfinityDistribution(DiscreteDistribution burstLengthDist,
ContinuousDistribution burstIATDist,
double interCellTime,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
double |
getCurrentTime() |
OnOffInfinityDistribution.BurstData |
getNextBurst() |
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final DiscreteDistribution burstLengthDist
public final ContinuousDistribution burstIATDist
public final double interCellTime
public final java.util.Queue<OnOffInfinityDistribution.BurstData> burstList
public OnOffInfinityDistribution(DiscreteDistribution burstLengthDist, ContinuousDistribution burstIATDist, double interCellTime, RandomNumberGenerator rng)
public OnOffInfinityDistribution(DiscreteDistribution burstLengthDist, ContinuousDistribution burstIATDist, double interCellTime)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution
public double getCurrentTime()
public OnOffInfinityDistribution.BurstData getNextBurst()