public class GMDPDistribution extends ContinuousDistribution
Modifier and Type | Class and Description |
---|---|
static class |
GMDPDistribution.GMDPStateParameters |
Modifier and Type | Field and Description |
---|---|
int |
noOfStates |
GMDPDistribution.GMDPStateParameters[] |
stateParameters |
rng
Modifier | Constructor and Description |
---|---|
protected |
GMDPDistribution(int noOfStates) |
|
GMDPDistribution(int noOfStates,
double[] interCellTimes,
DiscreteDistribution[] phaseLengthDists,
double[][] transitionProbs) |
|
GMDPDistribution(int noOfStates,
double[] interCellTimes,
DiscreteDistribution[] phaseLengthDists,
double[][] transitionProbs,
RandomNumberGenerator rng) |
protected |
GMDPDistribution(int noOfStates,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
int |
getCellCounter() |
double |
getCurrentInterCellTime() |
int |
getCurrentState() |
double |
next()
Create random numbers
|
void |
reset()
The default behavior is to do nothing.
|
getDefaultRNG, getRandomNumberGenerator
public final int noOfStates
public final GMDPDistribution.GMDPStateParameters[] stateParameters
protected GMDPDistribution(int noOfStates, RandomNumberGenerator rng)
protected GMDPDistribution(int noOfStates)
public GMDPDistribution(int noOfStates, double[] interCellTimes, DiscreteDistribution[] phaseLengthDists, double[][] transitionProbs, RandomNumberGenerator rng)
public GMDPDistribution(int noOfStates, double[] interCellTimes, DiscreteDistribution[] phaseLengthDists, double[][] transitionProbs)
public void reset()
Distribution
reset
in class Distribution
public double next()
ContinuousDistribution
next
in class ContinuousDistribution
public int getCurrentState()
public double getCurrentInterCellTime()
public int getCellCounter()