|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContPhaseVar
| Method Summary | |
|---|---|
ContPhaseVar |
copy()
Creates a deep copy of the original Phase-Type Variable |
ContPhaseVar |
eqResidualTime()
Computes the Equilibrium Residual Distribution |
ContPhaseVar |
max(ContPhaseVar B)
Returns the maximum between the variable B and the original: res = max(A,B) |
ContPhaseVar |
max(ContPhaseVar B,
ContPhaseVar res)
Returns the maximum between the variable B and the original: res = max(A,B) |
ContPhaseVar |
min(ContPhaseVar B)
Returns the minimum between the variable B and the original: res = min(A,B) |
ContPhaseVar |
min(ContPhaseVar B,
ContPhaseVar res)
Returns the minimum between the variable B and the original: res = min(A,B) |
ContPhaseVar |
mix(double p,
ContPhaseVar B)
Computes the distribution of the mix: res = A*p + B*(1-p) |
ContPhaseVar |
mix(double p,
ContPhaseVar B,
ContPhaseVar res)
Computes the distribution of the mix: res = A*p + B*(1-p) |
ContPhaseVar |
newVar(int n)
Creates a new variable of the same class of the original Continuous Phase-Type Variable |
double |
pdf(double x)
Evaluates the probability density function at x |
double[] |
pdf(int n,
double delta)
Evaluates the Probability Density Function at n values of x, starting with x=0, step delta |
ContPhaseVar |
residualTime(double x)
Computes the Residual Time Distribution |
ContPhaseVar |
residualVar(double a)
Computes the variable (X-a)+, i.e. |
ContPhaseVar |
sum(ContPhaseVar B)
Computes the sum of variables: res = A +B |
ContPhaseVar |
sum(ContPhaseVar B,
ContPhaseVar res)
Computes the sum of variables: res = A +B |
ContPhaseVar |
sumGeom(double p)
Returns the sum of a geometric number of independent copies of this variable |
ContPhaseVar |
sumPH(DiscPhaseVar B)
Returns the sum of a Phase number of Continuous Phase-type distributions |
ContPhaseVar |
sumPH(DiscPhaseVar B,
ContPhaseVar res)
Returns the sum of a Phase number of Continuous Phase-type distributions |
ContPhaseVar |
times(double c)
Returns a Phase continuous variable that is the original one times c |
java.lang.String |
toString()
This method returns a short String used in the user interface to describe this element. |
ContPhaseVar |
waitingQ(double rho)
Computes the distribution of the waiting time in queue |
| Methods inherited from interface jphase.PhaseVar |
|---|
cdf, cdf, CV, expectedValue, getMat0, getMat0Array, getMatrix, getMatrixArray, getNumPhases, getVec0, getVector, getVectorArray, lossFunction1, lossFunction2, median, moment, prob, quantil, setMatrix, setVector, stdDeviation, survival, survival, variance |
| Methods inherited from interface jmarkov.basic.JMarkovElement |
|---|
description, equals, label |
| Method Detail |
|---|
ContPhaseVar sumPH(DiscPhaseVar B,
ContPhaseVar res)
B - Discrete-Phase Type Distribution that determines the number of
Continuous Phase-Type Distributions to sumres - Continuous Phase Variable to store the resulting distribution
ContPhaseVar sumPH(DiscPhaseVar B)
B - Discrete-Phase Type Distribution that determines the number of
Continuous Phase-Type Distributions to sum
double pdf(double x)
x - Evaluation point
double[] pdf(int n,
double delta)
n - number of evaluation pointsdelta - distance between evaluation points
ContPhaseVar sum(ContPhaseVar B,
ContPhaseVar res)
B - Variable to sum to the originalres - Variable to store the result
ContPhaseVar sum(ContPhaseVar B)
B - Variable to sum to the original
ContPhaseVar sumGeom(double p)
p - Parameter of the geometric variable
ContPhaseVar mix(double p,
ContPhaseVar B,
ContPhaseVar res)
B - Variable to mix with the originalp - Portion of this variable in the mix (0<=p<=1)res - Variable to store the resulting distribution with the same
number of phases of the original distribution
ContPhaseVar mix(double p,
ContPhaseVar B)
B - Variable to mix with the originalp - Portion of this variable in the mix (0<=p<=1)
ContPhaseVar min(ContPhaseVar B,
ContPhaseVar res)
B - Variable to compare with the originalres - Variable to store the resulting distribution
ContPhaseVar min(ContPhaseVar B)
B - Variable to compare with the original
ContPhaseVar max(ContPhaseVar B,
ContPhaseVar res)
B - Variable to compare with the originalres - Variable to store the resulting distribution
ContPhaseVar max(ContPhaseVar B)
B - Variable to compare with the original
ContPhaseVar times(double c)
c - Scale factor to be applied to the original Phase continuous
distribution
ContPhaseVar residualTime(double x)
x - evaluation point
ContPhaseVar eqResidualTime()
ContPhaseVar waitingQ(double rho)
rho - Server utilization
ContPhaseVar residualVar(double a)
a - Parameter for determining loss variable
ContPhaseVar copy()
copy in interface PhaseVarContPhaseVar newVar(int n)
n - number of Phases of the new Variable
java.lang.String toString()
JMarkovElement
public final String toString() {
return label();
}
toString in interface JMarkovElementtoString in class java.lang.ObjectJMarkovElement.label()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||