public class CoxianDistribution extends ContinuousDistribution
Modifier and Type | Field and Description |
---|---|
NegExpDistribution[] |
phases |
double[] |
quitProbs |
rng
Constructor and Description |
---|
CoxianDistribution(double[] means,
double[] quitProbs) |
CoxianDistribution(double[] means,
double[] quitProbs,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final NegExpDistribution[] phases
public final double[] quitProbs
public CoxianDistribution(double[] means, double[] quitProbs, RandomNumberGenerator rng)
public CoxianDistribution(double[] means, double[] quitProbs)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution