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

Mean synchronization delay of a 2-way fork-join system of M/M/1 branches, i.e. More...

Include dependency graph for fj_synch_delay.h:

Go to the source code of this file.

Namespaces

namespace  line
namespace  line::fj

Functions

template<class T>
line::fj::fj_synch_delay (const T &lambda, const T &mu)
 Mean synchronization delay of a 2-way fork-join system of M/M/1 branches, i.e.

Detailed Description

Mean synchronization delay of a 2-way fork-join system of M/M/1 branches, i.e.

the time the first-finishing branch waits at the join.

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

S_2 = (1/2)(1 - rho/4) R(rho)

Rational in rho, hence exact in the field. It satisfies R_2 = R + S_2 exactly, which is the identity worth checking: both sides are exact rationals, so any discrepancy is a port error and not a rounding one.

Definition in file fj_synch_delay.h.