LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::qsys::tarddetail Namespace Reference

Typedefs

using Cplx = std::complex<double>

Functions

bool is_preemptive (const std::string &type, const char *fn)
double erlang_c (unsigned c, double A)
Cplx busy_lst (Cplx s, double lb, double cmu)
 LST of the M/M/1 busy period with rates lb and cmu, conjugate form.
Cplx ipow (Cplx z, unsigned k)
std::vector< Cplx > pr_state_lst (Cplx s, double lb, double mu, unsigned c)
 Theorem 4 transforms f_0..f_{c-1}, by the tridiagonal (Thomas) solve.
std::vector< double > pr_means (double lb, double mu, unsigned c)
 Mean response times S_0..S_{c-1} of the Theorem 4 states.
void exp_mix_tard (double mu, double theta, double Pc, double d, double &S, double &T, double &P)
 {S, Tard, P} of T = X + B Y, X ~ Exp(mu), Y ~ Exp(theta), B ~ Bernoulli(Pc).
void invert_tard (const lti::LaplaceFn &F, double S, double d, lti::LaplaceMethod m, double &T, double &P)
 Tard and P by inverting (s S - 1 + F)/s^2 and (1 - F)/s at d.
void hypo_tard (unsigned K, double mu, double theta, double d, double S, double &T, double &P)
 Tard and P of T = Exp(mu) + Erlang(K, theta) by nonnegative Poisson series.

Typedef Documentation

◆ Cplx

using line::qsys::tarddetail::Cplx = std::complex<double>

Definition at line 46 of file qsys_mmc_prio_tardiness.h.

Function Documentation

◆ busy_lst()

Cplx line::qsys::tarddetail::busy_lst ( Cplx s,
double lb,
double cmu )
inline

LST of the M/M/1 busy period with rates lb and cmu, conjugate form.

Definition at line 63 of file qsys_mmc_prio_tardiness.h.

References busy_lst().

Referenced by busy_lst(), and pr_state_lst().

◆ erlang_c()

double line::qsys::tarddetail::erlang_c ( unsigned c,
double A )
inline

Definition at line 56 of file qsys_mmc_prio_tardiness.h.

References erlang_c().

Referenced by erlang_c().

◆ exp_mix_tard()

void line::qsys::tarddetail::exp_mix_tard ( double mu,
double theta,
double Pc,
double d,
double & S,
double & T,
double & P )
inline

{S, Tard, P} of T = X + B Y, X ~ Exp(mu), Y ~ Exp(theta), B ~ Bernoulli(Pc).

Definition at line 124 of file qsys_mmc_prio_tardiness.h.

References exp_mix_tard().

Referenced by exp_mix_tard().

◆ hypo_tard()

void line::qsys::tarddetail::hypo_tard ( unsigned K,
double mu,
double theta,
double d,
double S,
double & T,
double & P )
inline

Tard and P of T = Exp(mu) + Erlang(K, theta) by nonnegative Poisson series.

Definition at line 146 of file qsys_mmc_prio_tardiness.h.

References hypo_tard().

Referenced by hypo_tard().

◆ invert_tard()

void line::qsys::tarddetail::invert_tard ( const lti::LaplaceFn & F,
double S,
double d,
lti::LaplaceMethod m,
double & T,
double & P )
inline

Tard and P by inverting (s S - 1 + F)/s^2 and (1 - F)/s at d.

Definition at line 136 of file qsys_mmc_prio_tardiness.h.

References invert_tard(), and line::lti::laplace_invert().

Referenced by invert_tard().

◆ ipow()

Cplx line::qsys::tarddetail::ipow ( Cplx z,
unsigned k )
inline

Definition at line 69 of file qsys_mmc_prio_tardiness.h.

References ipow().

Referenced by ipow().

◆ is_preemptive()

bool line::qsys::tarddetail::is_preemptive ( const std::string & type,
const char * fn )
inline

◆ pr_means()

std::vector< double > line::qsys::tarddetail::pr_means ( double lb,
double mu,
unsigned c )
inline

Mean response times S_0..S_{c-1} of the Theorem 4 states.

Definition at line 102 of file qsys_mmc_prio_tardiness.h.

References pr_means().

Referenced by pr_means().

◆ pr_state_lst()

std::vector< Cplx > line::qsys::tarddetail::pr_state_lst ( Cplx s,
double lb,
double mu,
unsigned c )
inline

Theorem 4 transforms f_0..f_{c-1}, by the tridiagonal (Thomas) solve.

Definition at line 80 of file qsys_mmc_prio_tardiness.h.

References busy_lst(), and pr_state_lst().

Referenced by pr_state_lst().