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

Extreme-value approximation to the maximum of K branch response times, from their mean and standard deviation. More...

Include dependency graph for fj_rmax_evd.h:

Go to the source code of this file.

Namespaces

namespace  line
namespace  line::fj

Functions

template<class T>
line::fj::fj_rmax_evd (unsigned K, const T &R, const T &sigma_R, bool calibrated=false)
 Extreme-value approximation to the maximum of K branch response times, from their mean and standard deviation.

Detailed Description

Extreme-value approximation to the maximum of K branch response times, from their mean and standard deviation.

Templated port of matlab/src/api/fj/fj_rmax_evd.m, cross-checked against FJ_rmax.fj_rmax_evd in jar/src/main/java/jline/api/fj/FJ_rmax.java (identical).

Rmax = R + (sqrt(6) ln K / pi) sigma_R

with the correction term divided by 1.27 in the calibrated variant of Thomasian et al. (2007).

static_assert(num_traits<T>::has_transcendental) – sqrt and log. Note that at K = 1 the correction vanishes and Rmax = R exactly, which is the only value of K at which the approximation is exact.

Definition in file fj_rmax_evd.h.