Class Snc_mean_delay
For a nonnegative delay E[D] = int_0^inf P{D>d} dd, so integrating
the tail bound of Snc_bound_delay bounds the MEAN. At fixed theta the
bound is K*exp(-a*d) with a = theta*rhoS and
K = exp(theta*(sigmaA+sigmaS))/(1-exp(-theta*(rhoS-rhoA))), so,
clipping the bound at 1 where it exceeds it, the integral is available in
CLOSED FORM: (log(K)+1)/a when K >= 1 and K/a otherwise. No
quadrature is involved, so the result is a bound and not a bound plus a
discretization error.
IT IS A LOOSE MEAN BOUND AND THAT IS INHERENT: on the M/M/1 read in job
units it returns 2.4x the exact 1/(mu-lambda) at rho = 0.1 and 10.4x at
rho = 0.95, because the prefactor of the tail bound, not its decay rate,
dominates an integral over the whole axis. Use Snc_perc_delay when
the quantile is what matters.
Port of matlab/src/api/snc/snc_mean_delay.m. This is the entry point
SolverBA calls for the snc.upper response-time column.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SncResultsnc_mean_delay(SncEnvelope arv, SncEnvelope srv) static SncResultsnc_mean_delay(SncEnvelope arv, SncEnvelope srv, double thetamax)
-
Method Details
-
snc_mean_delay
- Parameters:
arv- arrival envelopesrv- service envelope- Returns:
- the bound on E[D] and the minimizing theta
-
snc_mean_delay
- Parameters:
arv- arrival envelopesrv- service envelopethetamax- upper end of the theta search- Returns:
- the bound on E[D] and the minimizing theta
-