LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
aoi_lcfss_mgi1.h File Reference

Mean and peak Age of Information of an M/GI/1 non-preemptive LCFS queue with set-aside (LCFS-S). More...

Include dependency graph for aoi_lcfss_mgi1.h:

Go to the source code of this file.

Namespaces

namespace  line
namespace  line::aoi

Functions

template<class T>
AoiLstResult< T > line::aoi::aoi_lcfss_mgi1 (const T &lambda, const T &E_H, const T &E_H2)
 Mean and peak Age of Information of an M/GI/1 non-preemptive LCFS queue with set-aside (LCFS-S).

Detailed Description

Mean and peak Age of Information of an M/GI/1 non-preemptive LCFS queue with set-aside (LCFS-S).

Templated port of matlab/src/api/aoi/aoi_lcfss_mgi1.m, cross-checked against jar/src/main/java/jline/api/aoi/Aoi_lcfss_mgi1.java (identical).

E[B] = E[H]/(1-rho), E[B^2] = E[H^2]/(1-rho)^3 (M/G/1 busy period) E[A] = 1/lambda + E[H] + lambda E[H^2] / (2 (1-rho)^2) E[Apeak] = 1/lambda + E[H] + lambda E[B^2] / (2 E[B])

from Inoue et al. (2019, Section V).

The service-time LST is NOT used: the formula depends on the service distribution only through its first two moments, so the port takes E_H and E_H2 and nothing else. (The MATLAB and Java signatures both accept an LST argument and both ignore it – see the report note.) Everything is rational in lambda, E_H and E_H2, so both means are exact in the field.

MATLAB returns an empty LST handle for this discipline, which the port reports as has_lst = false.

Definition in file aoi_lcfss_mgi1.h.