public class CoxianDistribution extends ContinuousDistribution
Meaning: | Distribution according to the Coxian phase model: Serial switching of a selection of one of \(k\) phases each with a negative-exponentially distributed phase duration period (parameter \(\lambda_i\)), whereby after each phase the system is exited with the probability \(q_i\). Both the hyperexponential as well as the hypoexponential distributions are contained within this model. |
---|---|
Parameters: |
|
LST: | \(\phi(s) = q_0 + \sum\limits_{i=1}^k ( \prod\limits_{v=0}^{i-1} (1-q_v) ) \cdot q_i \cdot \prod\limits_{j=1}^i \frac{\lambda_j}{\lambda_j + s} \) |
Parser example: |
[...].Distribution = Coxian
|
Modifier and Type | Field and Description |
---|---|
NegExpDistribution[] |
phases |
double[] |
quitProbs |
rng
CREATE_INSTANCE_METHOD_NAME
Constructor and Description |
---|
CoxianDistribution(double[] means,
double[] quitProbs) |
CoxianDistribution(double[] means,
double[] quitProbs,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
static CoxianDistribution |
createInstance(SimNode ownNode,
Parameters pars,
RandomNumberGenerator rng)
as required by
ReflectionConstructable |
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 static CoxianDistribution createInstance(SimNode ownNode, Parameters pars, RandomNumberGenerator rng)
ReflectionConstructable
public double next()
ContinuousDistribution
next
in class ContinuousDistribution