public class HypoExpDistribution extends ContinuousDistribution
Meaning: | Generalization of the Erlang k distribution (serial switching of \(k\) phases with negative-exponentially distributed durations with individual parameters \(\lambda_i\) in the phase model). |
---|---|
Parameters: |
|
PDF: | \(P(T=t) = f(t) = g_1(t) \otimes ... \otimes g_k(t)\) with \(g_i(t) = \lambda_i \cdot exp(-\lambda_i t)\) |
Expected value: | \(E[T]= \sum\limits_{i=1}^k \frac{1}{\lambda_i} \) |
Variance: | \(VAR[T]= \sum\limits_{i=1}^k \frac{1}{\lambda_i^2} \) |
Coefficient of variation: | \(c_T= \frac{\sqrt{\sum\limits_{i=1}^k \frac{1}{\lambda_i^2}}}{\sum\limits_{i=1}^k \frac{1}{\lambda_i}} \le 1\) |
LST: | \(\phi(s) = \prod\limits_{i=1}^{k} \frac{\lambda_i}{\lambda_i +s}\) |
Parser example: |
[...].Distribution = HypoExp
|
Modifier and Type | Field and Description |
---|---|
NegExpDistribution[] |
phases |
rng
CREATE_INSTANCE_METHOD_NAME
Constructor and Description |
---|
HypoExpDistribution(double[] means) |
HypoExpDistribution(double[] means,
RandomNumberGenerator rng) |
HypoExpDistribution(double mean1,
double mean2) |
HypoExpDistribution(double mean1,
double mean2,
RandomNumberGenerator rng)
2nd order
|
HypoExpDistribution(int nrOfPhases) |
HypoExpDistribution(int nrOfPhases,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
static HypoExpDistribution |
createInstance(SimNode ownNode,
Parameters pars,
RandomNumberGenerator rng)
as required by
ReflectionConstructable |
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final NegExpDistribution[] phases
public HypoExpDistribution(int nrOfPhases, RandomNumberGenerator rng)
public HypoExpDistribution(int nrOfPhases)
public HypoExpDistribution(double[] means, RandomNumberGenerator rng)
public HypoExpDistribution(double[] means)
public HypoExpDistribution(double mean1, double mean2, RandomNumberGenerator rng)
public HypoExpDistribution(double mean1, double mean2)
public static HypoExpDistribution createInstance(SimNode ownNode, Parameters pars, RandomNumberGenerator rng)
ReflectionConstructable
public double next()
ContinuousDistribution
next
in class ContinuousDistribution