Package jline.api.snc
Class Snc_perc_backlog
java.lang.Object
jline.api.snc.Snc_perc_backlog
Backlog quantile at a prescribed violation probability.
Inverts Snc_bound_backlog in b: at fixed theta the smallest level
for which the bound certifies P{B > b} <= eps is
b(theta) = sigmaA + sigmaS - log(eps*(1-exp(-theta*(rhoS-rhoA))))/theta,
and the reported quantile is its minimum over the feasible thetas. The minimizing theta differs from the one of the forward bound at a given level, which is why the inversion is done in closed form and re-optimized rather than by a search on the forward bound.
Port of matlab/src/api/snc/snc_perc_backlog.m.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SncResultsnc_perc_backlog(SncEnvelope arv, SncEnvelope srv, double eps) static SncResultsnc_perc_backlog(SncEnvelope arv, SncEnvelope srv, double eps, double thetamax)
-
Method Details
-
snc_perc_backlog
- Parameters:
arv- arrival envelopesrv- service envelopeeps- violation probability, 0 < eps < 1- Returns:
- the quantile and the minimizing theta
-
snc_perc_backlog
public static SncResult snc_perc_backlog(SncEnvelope arv, SncEnvelope srv, double eps, double thetamax) - Parameters:
arv- arrival envelopesrv- service envelopeeps- violation probability, 0 < eps < 1thetamax- upper end of the theta search- Returns:
- the quantile and the minimizing theta
-