Package jline.api.aoi
Class Aoi_lcfspr_gim1
java.lang.Object
jline.api.aoi.Aoi_lcfspr_gim1
-
Method Summary
Modifier and TypeMethodDescriptionstatic AoiLstResultaoi_lcfspr_gim1(LstFunction Y_lst, double mu, double E_Y, double E_Y2) Mean AoI and LST for GI/M/1 preemptive LCFS queue.
-
Method Details
-
aoi_lcfspr_gim1
Mean AoI and LST for GI/M/1 preemptive LCFS queue.Exact: the age is the backward recurrence time of the arrivals plus an independent Exp(mu), so A*(s) = (mu/(s+mu))*lambda*(1 - Y*(s))/s and E[A] = lambda*E[Y^2]/2 + 1/mu; E[Apeak] = E[S given success] + 1/(lambda*q) with q = 1 - Y*(mu).
- Parameters:
Y_lst- LST of interarrival time distributionmu- Service rate (exponential service), must be positiveE_Y- Mean interarrival time (first moment), must be positiveE_Y2- Second moment of interarrival time, must be at least E_Y^2- Returns:
- AoiLstResult containing meanAoI, lstAoI, peakAoI
- Throws:
IllegalArgumentException- if parameters are invalid or system is unstable
-