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

Per-visit response-time distributions of an OPEN network of order-independent (OI) and BCMP stations: the getCdfRespT route of SolverNC for the models solver_oi_open_analyzer solves. More...

#include <algorithm>
#include <cmath>
#include <cstddef>
#include <limits>
#include <string>
#include <vector>
#include "line/api/mam/map_cdf.h"
#include "line/api/mam/map_moment.h"
#include "line/api/pfqn/pfqn_oi_respt.h"
#include "line/lang/distribution.h"
#include "line/lang/lang_types.h"
#include "line/lang/qn/network_struct.h"
#include "line/solvers/nc/solver_oi_open.h"
#include "line/util/error.h"
#include "line/util/matrix.h"
Include dependency graph for solver_oi_open_cdfrespt.h:

Go to the source code of this file.

Classes

struct  line::nc::OiOpenCdfRespT< T >
 Return value of solver_oi_open_cdfrespt: RD{ist,r} = [F(t) t] and the shared grid. More...

Namespaces

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

Functions

template<class T>
OiOpenCdfRespT< T > line::nc::solver_oi_open_cdfrespt (const qn::NetworkStruct< T > &sn, double tol)
 Port of solver_oi_open_cdfrespt.m.

Detailed Description

Per-visit response-time distributions of an OPEN network of order-independent (OI) and BCMP stations: the getCdfRespT route of SolverNC for the models solver_oi_open_analyzer solves.

Port of solver_oi_open_cdfrespt.m. Every station is quasi-reversible, so in an open network it sees Poisson traffic of rate lambda_ir and its sojourn-time law is that of the isolated station:

  • OI station whose rate is a NESTED collaborative pool: the phase-type law of pfqn_oi_respt (Gardner, Righter 2020, Thm 4.5);
  • INF: the service law;
  • c-server FCFS with a class-independent exponential rate mu: the M/M/c sojourn, Exp(mu) plus an Erlang-C-weighted Exp(c*mu - lambda), as a 2-phase PH. Anything else is refused by name (UnsupportedError, kind "Analysis", the reference's LINE:unsupported:Analysis): no response-time theorem is known for a general OI rate, PS, LCFS-PR or SIRO companions have no phase-type sojourn law of this form, and the OI loss queue and unstable stations have no stationary Poisson-fed sojourn. A model nc_oi_refusal rejects raises with kind "Structure", as the reference's LINE:unsupported:Structure.

RD[i][r] is [F(t) t] on a common logarithmic grid of 100 points spanning two decades below to one above the largest mean sojourn; Source rows and classes with no traffic at a station are empty.

ARITHMETIC. map_cdf and the grid are transcendental, so a non-transcendental backend is refused by name.

Definition in file solver_oi_open_cdfrespt.h.