public class GMPPDistribution extends ContinuousDistribution
Modifier and Type | Class and Description |
---|---|
static class |
GMPPDistribution.StateParameters |
Modifier and Type | Field and Description |
---|---|
int |
noOfStates |
GMPPDistribution.StateParameters[] |
stateParameters |
rng
Constructor and Description |
---|
GMPPDistribution(int noOfStates,
double[] meanIATs,
ContinuousDistribution[] stateDurations,
double[][] transitionProbs) |
GMPPDistribution(int noOfStates,
double[] meanIATs,
ContinuousDistribution[] stateDurations,
double[][] transitionProbs,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentState() |
double |
getResidualPhaseTime() |
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final int noOfStates
public final GMPPDistribution.StateParameters[] stateParameters
public GMPPDistribution(int noOfStates, double[] meanIATs, ContinuousDistribution[] stateDurations, double[][] transitionProbs, RandomNumberGenerator rng)
public GMPPDistribution(int noOfStates, double[] meanIATs, ContinuousDistribution[] stateDurations, double[][] transitionProbs)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution
public double getResidualPhaseTime()
public int getCurrentState()