Package jline.api.qsys
Class QsysMg1PsResult
java.lang.Object
jline.api.qsys.QsysMg1PsResult
Result of
Qsys_mg1_ps.qsys_mg1_ps(double, double[], double[][], double[], double[], double[], int): the sojourn time distribution of the
M/G/1 processor-sharing queue.
Besides the tabulated arrays, the object stays callable: lstCond(org.apache.commons.math3.complex.Complex, double),
lstExcess(org.apache.commons.math3.complex.Complex, double), lstUncond(org.apache.commons.math3.complex.Complex) and dominantRoot(org.apache.commons.math3.complex.Complex) evaluate the
transforms at any argument, which is what the MATLAB twin returns as function
handles.
Port of MATLAB qsys_mg1_ps.m.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[]Atom (1-rho)*exp(-lambda*x) of V(x) at t = x.doubleMass (1-rho)*bhat(lambda) of the jobs that share the server with nobody.double[][]P(V(x) <= t), indexed [x][t].double[]P(V <= t).double[][]Values of the conditional LST, indexed [x][s].double[]Values of the unconditional LST.doubleMean service requirement.doubleSecond moment of the service requirement, NaN when only an LST is given.double[]Conditional second moment of V(x).doubleUnconditional second moment of the sojourn time.double[]Exact conditional mean x/(1-rho).doubleExact unconditional mean sojourn time m1/(1-rho).double[][]Density of V(x), indexed [x][t], NaN on the lattice (k+1)*x.double[]Density of the unconditional sojourn time.doubleUtilization lambda*m1.double[]Requested transform arguments.double[]Requested times.double[]Conditional variance of V(x).doubleUnconditional variance of the sojourn time.double[]Requested service requirements. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.math3.complex.ComplexdominantRoot(org.apache.commons.math3.complex.Complex s) Dominant singularity tau*(s), the right half plane root of tau = s + lambda*(1-bhat(tau)).org.apache.commons.math3.complex.ComplexlstCond(org.apache.commons.math3.complex.Complex s, double x) Conditional transform E[exp(-s V(x))].org.apache.commons.math3.complex.ComplexlstExcess(org.apache.commons.math3.complex.Complex s, double x) Transform E[exp(-s (V(x)-x))] of the excess, bounded as s grows.org.apache.commons.math3.complex.ComplexlstUncond(org.apache.commons.math3.complex.Complex s) Unconditional transform E[exp(-s V)].
-
Field Details
-
rho
public double rhoUtilization lambda*m1. -
m1
public double m1Mean service requirement. -
m2
public double m2Second moment of the service requirement, NaN when only an LST is given. -
meanUncond
public double meanUncondExact unconditional mean sojourn time m1/(1-rho). -
m2Uncond
public double m2UncondUnconditional second moment of the sojourn time. -
varUncond
public double varUncondUnconditional variance of the sojourn time. -
atomUncond
public double atomUncondMass (1-rho)*bhat(lambda) of the jobs that share the server with nobody. -
x
public double[] xRequested service requirements. -
s
public double[] sRequested transform arguments. -
t
public double[] tRequested times. -
atomCond
public double[] atomCondAtom (1-rho)*exp(-lambda*x) of V(x) at t = x. -
meanCond
public double[] meanCondExact conditional mean x/(1-rho). -
m2Cond
public double[] m2CondConditional second moment of V(x). -
varCond
public double[] varCondConditional variance of V(x). -
lstCondVal
public double[][] lstCondValValues of the conditional LST, indexed [x][s]. -
lstUncondVal
public double[] lstUncondValValues of the unconditional LST. -
pdfCond
public double[][] pdfCondDensity of V(x), indexed [x][t], NaN on the lattice (k+1)*x. -
cdfCond
public double[][] cdfCondP(V(x) <= t), indexed [x][t]. -
pdfUncond
public double[] pdfUncondDensity of the unconditional sojourn time. -
cdfUncond
public double[] cdfUncondP(V <= t).
-
-
Constructor Details
-
QsysMg1PsResult
public QsysMg1PsResult()
-
-
Method Details
-
lstCond
public org.apache.commons.math3.complex.Complex lstCond(org.apache.commons.math3.complex.Complex s, double x) Conditional transform E[exp(-s V(x))]. -
lstExcess
public org.apache.commons.math3.complex.Complex lstExcess(org.apache.commons.math3.complex.Complex s, double x) Transform E[exp(-s (V(x)-x))] of the excess, bounded as s grows. -
lstUncond
public org.apache.commons.math3.complex.Complex lstUncond(org.apache.commons.math3.complex.Complex s) Unconditional transform E[exp(-s V)]. -
dominantRoot
public org.apache.commons.math3.complex.Complex dominantRoot(org.apache.commons.math3.complex.Complex s) Dominant singularity tau*(s), the right half plane root of tau = s + lambda*(1-bhat(tau)).
-