Package jline.api.aoi
Class Aoi_lcfspr_mgi1
java.lang.Object
jline.api.aoi.Aoi_lcfspr_mgi1
-
Method Summary
Modifier and TypeMethodDescriptionstatic AoiLstResultaoi_lcfspr_mgi1(double lambda, LstFunction H_lst, double E_H, double E_H2) Mean AoI and LST for M/GI/1 preemptive LCFS queue.
-
Method Details
-
aoi_lcfspr_mgi1
public static AoiLstResult aoi_lcfspr_mgi1(double lambda, LstFunction H_lst, double E_H, double E_H2) Mean AoI and LST for M/GI/1 preemptive LCFS queue.Exact: A*(s) = lambda*H*(s+lambda)/(s + lambda*H*(s+lambda)), E[A] = 1/(lambda*H*(lambda)), E[Apeak] = -H*'(lambda)/H*(lambda) + 1/(lambda*H*(lambda)). The age looks back over Exp(lambda) gaps to the first update whose service beat the next arrival.
- Parameters:
lambda- Arrival rate (Poisson arrivals), must be positiveH_lst- LST of service time distributionE_H- Mean service time (first moment), must be positiveE_H2- Second moment of service time (for reference)- Returns:
- AoiLstResult containing meanAoI, lstAoI, peakAoI
- Throws:
IllegalArgumentException- if parameters are invalid or system is unstable
-