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

Kriz (1984) closed-form throughput bounds for single-class closed networks of single-server stations and delay servers. More...

#include <algorithm>
#include <cmath>
#include <cstddef>
#include <vector>
#include "line/num/number.h"
#include "line/util/error.h"
Include dependency graph for pfqn_kriz_bounds.h:

Go to the source code of this file.

Classes

struct  line::pfqn::KrizBoundsInfo< T >
 Every individual bound of pfqn_kriz_bounds, MATLAB's info struct. More...
struct  line::pfqn::KrizBounds< T >
 Return value of pfqn_kriz_bounds, mirroring [Xlo, Xhi, info]. More...

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.
namespace  line::pfqn

Functions

template<class T>
KrizBounds< T > line::pfqn::pfqn_kriz_bounds (const std::vector< T > &Lin, int N, const T &Z, int level=0)
 Kriz (1984) throughput bounds.

Detailed Description

Kriz (1984) closed-form throughput bounds for single-class closed networks of single-server stations and delay servers.

Templated port of matlab/src/api/pfqn/pfqn_kriz_bounds.m (native Python twin: python/line_solver/api/pfqn/throughput_bounds.py). J. Kriz, "Throughput Bounds for Closed Queueing Networks", Perform. Eval. 4 (1984) 1-10. With loadings t_m (= L), T = sum t_m, r = Z + T, t' = max t_m and t'' = T/w (w stations):

bottleneck (6) X <= min(N/r, 1/t') Thm 5.1 (26a) X >= 2N/(b1+sqrt(b1^2-4 a1 N)), a1 = ((N-1)/N) Z t', b1 = r + (N-1) t' Thm 5.1 (26b) X <= min(2N/(b2+sqrt(b2^2-4 a2 N)), 1/t'), a2 = Z t'', b2 = r + (N-1) t'' Thm 4.2 (21) X <= N/(Z + (N-1-Z y(N-1) + B(N)) t'), y(N-1) = min((N-1)/r, 1/t') as in Sec. 6 Thm 5.2 (28) X <= 2N/(b+sqrt(b^2-4 a N)), a = Z t', b = Z + (N-1+B(N)) t' B(N) = w1 + w2 (t2/t')^N (eq. 22), w1 stations at t', w2 at the second largest loading t2.

For level i >= 1 the Theorem-3.2 balanced hierarchy (eq. 16) is added: Y_0 = 0, Y_i(N) = N/(r + (N-1-Z Y_{i-1}(N-1)) t') below and Ybar_0 = min(N/r,1/t'), Ybar_i(N) = min(N/(r + (N-1-Z Ybar_{i-1}(N-1)) t''), 1/t') above; levels above N are capped at N. Xlo is the larger of the valid lower bounds and Xhi the smallest valid upper bound.

ARITHMETIC. The square-root bounds need sqrt, so the routine is gated on num_traits<T>::has_transcendental, as pfqn_sib is.

Definition in file pfqn_kriz_bounds.h.