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

Mean Age of Information, its transform and the peak age of a GI/M/1 preemptive LCFS queue. More...

Include dependency graph for aoi_lcfspr_gim1.h:

Go to the source code of this file.

Namespaces

namespace  line
namespace  line::aoi

Functions

template<class T>
AoiLstResult< T > line::aoi::aoi_lcfspr_gim1 (const Lst< T > &Y_lst, const T &mu, const T &E_Y)
 Mean Age of Information, its transform and the peak age of a GI/M/1 preemptive LCFS queue.

Detailed Description

Mean Age of Information, its transform and the peak age of a GI/M/1 preemptive LCFS queue.

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

E[A] = E[Y] + 1/mu q = P(S < Y) = 1 - Y*(mu) E[S|succ] = (1/mu + Y*'(mu) - Y*(mu)/mu) / q E[Apeak] = E[S|succ] + 1/(lambda q) A*(s) = Y*(s) mu/(s + mu)

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

static_assert(num_traits<T>::has_transcendental) – MATLAB's finite-difference derivative of Y* at mu. The mean is rational in E_Y and mu and is exact; the transform is exact wherever Y* is.

Definition in file aoi_lcfspr_gim1.h.