LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
solver_nc_open_cdfrespt.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2012-2026, QORE Lab, Imperial College London
3 * All rights reserved.
4 */
5#ifndef LINE_SOLVERS_NC_SOLVER_NC_OPEN_CDFRESPT_H
6#define LINE_SOLVERS_NC_SOLVER_NC_OPEN_CDFRESPT_H
7
8/**
9 * @file
10 * @ingroup line_solvers
11 * Per-visit response-time distributions of an OPEN product-form (BCMP /
12 * Jackson) network with no order-independent station: the getCdfRespT route of
13 * SolverNC for all-open models that `nc_is_oi_model` does not claim.
14 *
15 * Port of `solver_nc_open_cdfrespt.m`. In an open product-form network an
16 * arriving job sees the time-average state (the open arrival theorem), with or
17 * without feedback; and on a route that never returns to a station, the
18 * arrivals after a tagged job are a Poisson stream independent of the state it
19 * found, so the station is the isolated queue fed by Poisson traffic.
20 * - FCFS, c servers, one exponential rate for every class: the M/M/c
21 * sojourn, at every visit, feedback included;
22 * - INF: the class's own phase-type service law;
23 * - PS, one server, no feedback: the M/PH/1-PS law of `qsys_mg1_ps` with the
24 * class's own block as `tagAlpha`;
25 * - LCFS-PR, one server, no feedback: the per-class sojourn of the
26 * MMAP[K]/G[K]/1 LCFS-PR queue fed by K independent Poisson streams,
27 * `qsys_mmapgk1_lcfspr` (Takine 2002).
28 * A fed-back PS or LCFS-PR station and anything outside product form are
29 * refused by name (UnsupportedError, kinds Structure / Distribution /
30 * Scheduling / Analysis, the reference's LINE:unsupported:* ids).
31 *
32 * RD[i][r] is [F(t) t] on a common logarithmic grid of 100 points from two
33 * decades below the largest mean sojourn Tm up to the first of 10*Tm, ...,
34 * 1e4*Tm by which every law holds 1 - FineTol; Source rows and classes with no
35 * traffic at a station are empty.
36 *
37 * ARITHMETIC. The laws are transcendental (matrix exponentials, transform
38 * inversion), so a non-transcendental backend is refused by name.
39 */
40
41#include <algorithm>
42#include <cmath>
43#include <cstddef>
44#include <functional>
45#include <iostream>
46#include <limits>
47#include <string>
48#include <vector>
49
58#include "line/util/error.h"
59#include "line/util/matrix.h"
60
61namespace line {
62namespace nc {
63
64namespace detail {
65
66inline const char* nc_open_use() {
67 return " Use SolverMAM (single queue), SolverFluid, SolverLDES or SolverJMT for this model.";
68}
69
70/** Class-r traffic offered to station i: the chain's exogenous rate times the visits normalized to its reference. */
71template <class T>
72std::vector<std::vector<double> > nc_open_traffic(const qn::NetworkStruct<T>& sn) {
73 const std::size_t M = sn.nstations, K = sn.nclasses;
74 std::vector<std::vector<double> > L(M, std::vector<double>(K, 0.0));
75 for (std::size_t c = 0; c < sn.nchains; ++c) {
76 std::vector<std::size_t> inchain;
77 for (std::size_t r = 0; r < K; ++r)
78 if (sn.chains[c][r]) inchain.push_back(r);
79 if (inchain.empty()) continue;
80 const std::size_t ref = sn.classes[inchain[0]].refstat - 1;
81 double lamc = 0.0;
82 for (std::size_t r : inchain) {
83 if (sn.disabled[ref][r]) continue;
84 const double v = num_traits<T>::to_double(sn.rates(ref, r));
85 if (std::isfinite(v)) lamc += v;
86 }
87 if (!(lamc > 0.0)) continue;
88 const Matrix<T>& vis = sn.visits[c];
89 const std::size_t refsf = sn.stateful_of_station(ref + 1) - 1;
90 double vref = 0.0;
91 for (std::size_t r : inchain) vref += num_traits<T>::to_double(vis(refsf, r));
92 if (!(vref > 0.0)) continue;
93 for (std::size_t i = 0; i < M; ++i) {
94 const std::size_t isf = sn.stateful_of_station(i + 1) - 1;
95 for (std::size_t r : inchain) L[i][r] = lamc * num_traits<T>::to_double(vis(isf, r)) / vref;
96 }
97 }
98 return L;
99}
100
101/** fb[i]: some route leads from station i back to station i, in any class. */
102template <class T>
103std::vector<bool> nc_open_feedback(const qn::NetworkStruct<T>& sn) {
104 const std::size_t K = sn.nclasses;
105 const std::size_t nsf = sn.rt.rows() / K;
106 std::vector<std::vector<bool> > A(nsf, std::vector<bool>(nsf, false));
107 for (std::size_t i = 0; i < nsf; ++i)
108 for (std::size_t j = 0; j < nsf; ++j) {
109 bool any = false;
110 for (std::size_t r = 0; r < K && !any; ++r)
111 for (std::size_t s = 0; s < K && !any; ++s)
112 any = num_traits<T>::to_double(sn.rt(i * K + r, j * K + s)) > 0.0;
113 A[i][j] = any;
114 }
115 // sn.rt closes an open network by sending departing jobs back to the
116 // Source; that edge is a departure, not a route, so no path may pass
117 // through a Source
118 for (std::size_t i = 0; i < sn.nstations; ++i)
119 if (sn.stations[i].nodetype == qn::NodeType::Source) {
120 const std::size_t isf = sn.stateful_of_station(i + 1) - 1;
121 for (std::size_t p = 0; p < nsf; ++p) A[p][isf] = false;
122 }
123 for (std::size_t k = 0; k < nsf; ++k)
124 for (std::size_t i = 0; i < nsf; ++i) {
125 if (!A[i][k]) continue;
126 for (std::size_t j = 0; j < nsf; ++j)
127 if (A[k][j]) A[i][j] = true;
128 }
129 std::vector<bool> fb(sn.nstations, false);
130 for (std::size_t i = 0; i < sn.nstations; ++i) {
131 const std::size_t isf = sn.stateful_of_station(i + 1) - 1;
132 fb[i] = A[isf][isf];
133 }
134 return fb;
135}
136
137/**
138 * The sojourn laws here are phase-type computations on a RENEWAL service law:
139 * a non-Markovian law carries only a fitted approximation, and a MAP's
140 * correlation between successive services is not a per-job law.
141 */
142inline bool nc_open_is_renewal_ph(lang::ProcessType p) {
143 using lang::ProcessType;
144 return p == ProcessType::EXP || p == ProcessType::ERLANG || p == ProcessType::HYPEREXP ||
145 p == ProcessType::PH || p == ProcessType::APH || p == ProcessType::COXIAN ||
146 p == ProcessType::COX2;
147}
148
149} // namespace detail
150
151/**
152 * Port of `solver_nc_open_cdfrespt.m`.
153 *
154 * @param sn the refreshed struct of a fully OPEN network with no OI station
155 */
156template <class T>
158 using qn::SchedStrategy;
159 if constexpr (!num_traits<T>::has_transcendental) {
160 (void)sn;
161 throw UnsupportedError(ErrorKind{"Arithmetic"},
162 "solver_nc_open_cdfrespt: the sojourn-time laws are matrix exponentials and transform "
163 "inversions on a logarithmic grid; this backend has no transcendental arithmetic");
164 } else {
165 const T zero = num_traits<T>::from_int(0);
166 const std::size_t M = sn.nstations, K = sn.nclasses;
167 const std::string use = detail::nc_open_use();
168 for (const qn::JobClass& c : sn.classes)
169 if (!std::isinf(c.population))
170 throw UnsupportedError(ErrorKind{"Analysis"},
171 "solver_nc_open_cdfrespt serves open networks only.");
172 for (const qn::NodeDef& nd : sn.nodes)
173 if (nd.nodetype == qn::NodeType::Fork)
174 throw UnsupportedError(ErrorKind{"Structure"},
175 "getCdfRespT has no exact per-visit law for an open fork-join network." + use);
176 for (const qn::Station<T>& st : sn.stations)
177 if (!st.lldscaling.empty() || static_cast<bool>(st.cdscaling) ||
178 static_cast<bool>(st.jdscaling))
179 throw UnsupportedError(ErrorKind{"Structure"},
180 "getCdfRespT on an open network reads no load-, class- or joint-dependent rate." + use);
181 // the exogenous streams must be Poisson for the network to be product form
182 for (std::size_t r = 0; r < K; ++r) {
183 const std::size_t ref = sn.classes[r].refstat - 1;
184 if (sn.stations[ref].nodetype != qn::NodeType::Source || sn.disabled[ref][r]) continue;
185 if (!(num_traits<T>::to_double(sn.rates(ref, r)) > 0.0)) continue;
186 if (lang::dist_to_map(sn.service[ref][r]).order() != 1)
187 throw UnsupportedError(ErrorKind{"Distribution"},
188 "getCdfRespT on an open network needs Poisson arrivals; class '" + sn.classes[r].name +
189 "' arrives as a non-exponential process, which breaks the product form." + use);
190 }
191
192 const std::vector<std::vector<double> > L = detail::nc_open_traffic(sn);
193 const std::vector<bool> fb = detail::nc_open_feedback(sn);
194 typedef std::function<std::vector<double>(const std::vector<double>&)> Tab;
195 std::vector<std::vector<mam::Map<T> > > laws(M, std::vector<mam::Map<T> >(K));
196 std::vector<std::vector<Tab> > tabs(M, std::vector<Tab>(K));
197 std::vector<std::vector<double> > means(M, std::vector<double>(K, 0.0));
198 for (std::size_t i = 0; i < M; ++i) {
199 const qn::Station<T>& st = sn.stations[i];
200 if (st.nodetype == qn::NodeType::Source) continue;
201 const std::string name = st.name;
202 std::vector<std::size_t> rpos;
203 for (std::size_t r = 0; r < K; ++r)
204 if (L[i][r] > 0.0) rpos.push_back(r);
205 if (rpos.empty()) continue;
206 bool finite = i < sn.cap.size() && std::isfinite(sn.cap[i]);
207 if (i < sn.classcap.size())
208 for (std::size_t r : rpos)
209 if (r < sn.classcap[i].size() && std::isfinite(sn.classcap[i][r])) finite = true;
210 if (finite)
211 throw UnsupportedError(ErrorKind{"Structure"},
212 "getCdfRespT: station '" + name +
213 "' has a finite buffer, which drops or blocks jobs and breaks the product form." + use);
214 const double c = st.nservers;
215 auto need_ph = [&](std::size_t r) {
216 const lang::ProcessType p = sn.service[i][r].type;
217 if (!detail::nc_open_is_renewal_ph(p))
218 throw UnsupportedError(ErrorKind{"Distribution"},
219 "getCdfRespT: station '" + name + "' serves class '" + sn.classes[r].name +
220 "' with a " + lang::process_to_text(p) + " law, which is not phase-type." + use);
221 };
222 if (st.sched == SchedStrategy::INF) {
223 for (std::size_t r : rpos) {
224 need_ph(r);
225 laws[i][r] = lang::dist_to_map(sn.service[i][r]);
226 means[i][r] = num_traits<T>::to_double(mam::map_mean(laws[i][r]));
227 }
228 } else if (st.sched == SchedStrategy::FCFS) {
229 double mumin = std::numeric_limits<double>::infinity(), mumax = 0.0;
230 for (std::size_t r : rpos) {
231 if (lang::dist_to_map(sn.service[i][r]).order() != 1)
232 throw UnsupportedError(ErrorKind{"Distribution"},
233 "getCdfRespT: FCFS station '" + name + "' serves class '" + sn.classes[r].name +
234 "' with a non-exponential law, which breaks the product form." + use);
235 const double mu = num_traits<T>::to_double(sn.rates(i, r));
236 mumin = std::min(mumin, mu);
237 mumax = std::max(mumax, mu);
238 }
239 if (mumax - mumin > 1e-9 * mumax)
240 throw UnsupportedError(ErrorKind{"Structure"},
241 "getCdfRespT: FCFS station '" + name +
242 "' has class-dependent service rates, which break the product form." + use);
243 const T mu = sn.rates(i, rpos[0]);
244 double cc = c;
245 if (!std::isfinite(cc) || cc <= 0.0) cc = 1.0;
246 cc = std::round(cc);
247 double lsum = 0.0;
248 for (std::size_t r : rpos) lsum += L[i][r];
249 const double a = lsum / num_traits<T>::to_double(mu);
250 if (a >= cc)
251 throw UnsupportedError(ErrorKind{"Analysis"},
252 "getCdfRespT: station '" + name + "' is unstable, so it has no stationary response time.");
253 const T PC = num_traits<T>::from_double(detail::oi_open_erlang_c(a, cc));
254 const T aT = num_traits<T>::from_double(a);
255 const T gap = T(num_traits<T>::from_double(cc) * mu - aT * mu);
256 mam::Map<T> law;
257 law.D0 = Matrix<T>(2, 2, zero);
258 law.D0(0, 0) = T(-gap);
259 law.D0(0, 1) = gap;
260 law.D0(1, 1) = T(-mu);
261 const T one = num_traits<T>::from_int(1);
262 const T alpha[2] = {PC, T(one - PC)};
263 law.D1 = Matrix<T>(2, 2, zero);
264 for (std::size_t p = 0; p < 2; ++p) {
265 const T ex = T(-(law.D0(p, 0) + law.D0(p, 1)));
266 for (std::size_t q = 0; q < 2; ++q) law.D1(p, q) = T(ex * alpha[q]);
267 }
268 for (std::size_t r : rpos) {
269 laws[i][r] = law;
270 means[i][r] = num_traits<T>::to_double(mam::map_mean(law));
271 }
272 } else if (st.sched == SchedStrategy::PS || st.sched == SchedStrategy::LCFSPR) {
273 const std::string disc = lang::sched_to_text(st.sched);
274 if (c != 1.0)
275 throw UnsupportedError(ErrorKind{"Structure"},
276 "getCdfRespT: " + disc + " station '" + name + "' has " +
277 std::to_string(static_cast<long long>(c)) +
278 " servers; the exact sojourn law is known for a single server only." + use);
279 if (fb[i])
280 throw UnsupportedError(ErrorKind{"Structure"},
281 "getCdfRespT: jobs can return to " + disc + " station '" + name +
282 "'; its sojourn depends on the arrivals after the tagged job, which feedback "
283 "makes correlated with the state it found, so no exact law is known." + use);
284 double lam = 0.0, rho = 0.0;
285 std::vector<mam::Map<T> > svk(K);
286 for (std::size_t r : rpos) {
287 need_ph(r);
288 svk[r] = lang::dist_to_map(sn.service[i][r]);
289 lam += L[i][r];
290 rho += L[i][r] * num_traits<T>::to_double(mam::map_mean(svk[r]));
291 }
292 if (rho >= 1.0)
293 throw UnsupportedError(ErrorKind{"Analysis"},
294 "getCdfRespT: station '" + name + "' is unstable, so it has no stationary response time.");
295 for (std::size_t r : rpos)
296 means[i][r] = num_traits<T>::to_double(mam::map_mean(svk[r])) / (1.0 - rho);
297 if (st.sched == SchedStrategy::PS) {
298 // one M/PH/1-PS queue whose requirement is the traffic mix
299 std::vector<std::size_t> off(K, 0);
300 std::size_t n = 0;
301 for (std::size_t r : rpos) {
302 off[r] = n;
303 n += svk[r].D0.rows();
304 }
305 std::vector<double> alpha(n, 0.0);
306 Matrix<double> Tm(n, n, 0.0);
307 std::vector<std::vector<double> > pies(K);
308 for (std::size_t r : rpos) {
309 const std::vector<T> pr = mam::map_pie(svk[r]);
310 for (const T& v : pr) pies[r].push_back(num_traits<T>::to_double(v));
311 const std::size_t nk = svk[r].D0.rows();
312 for (std::size_t p = 0; p < nk; ++p) {
313 alpha[off[r] + p] = (L[i][r] / lam) * pies[r][p];
314 for (std::size_t q = 0; q < nk; ++q)
315 Tm(off[r] + p, off[r] + q) = num_traits<T>::to_double(svk[r].D0(p, q));
316 }
317 }
318 for (std::size_t r : rpos) {
319 std::vector<double> tag(n, 0.0);
320 for (std::size_t p = 0; p < pies[r].size(); ++p) tag[off[r] + p] = pies[r][p];
321 tabs[i][r] = [lam, alpha, Tm, tag](const std::vector<double>& t) {
323 o.t = t;
324 o.tagAlpha = tag;
325 return qsys::qsys_mg1_ps(lam, alpha, Tm, o).cdfUncond;
326 };
327 }
328 } else {
329 // MMAP[K]/G[K]/1 LCFS-PR with K independent Poisson streams
330 std::vector<Matrix<T> > D;
331 D.push_back(Matrix<T>(1, 1, num_traits<T>::from_double(-lam)));
332 D.push_back(Matrix<T>(1, 1, num_traits<T>::from_double(lam)));
333 std::vector<qsys::MmapGk1Service<T> > svc;
334 for (std::size_t r : rpos) {
335 D.push_back(Matrix<T>(1, 1, num_traits<T>::from_double(L[i][r])));
336 svc.push_back(qsys::MmapGk1Service<T>(svk[r]));
337 }
338 for (std::size_t j = 0; j < rpos.size(); ++j) {
339 tabs[i][rpos[j]] = [D, svc, j](const std::vector<double>& t) {
341 for (double x : t) o.wPoints.push_back(num_traits<T>::from_double(x));
343 std::vector<double> F(t.size(), 0.0);
344 for (std::size_t p = 0; p < t.size(); ++p)
345 F[p] = num_traits<T>::to_double(res.respCDF[j][p]);
346 return F;
347 };
348 }
349 }
350 } else {
351 throw UnsupportedError(ErrorKind{"Scheduling"},
352 "getCdfRespT on an open network supports FCFS, INF, PS and LCFS-PR stations; station '" +
353 name + "' is " + lang::sched_to_text(st.sched) +
354 ", whose per-visit sojourn law is not known in product form." + use);
355 }
356 }
357
359 out.RD.assign(M, std::vector<Matrix<T> >(K));
360 double Tmax = 0.0;
361 for (std::size_t i = 0; i < M; ++i)
362 for (std::size_t r = 0; r < K; ++r) Tmax = std::max(Tmax, means[i][r]);
363 if (!(Tmax > 0.0)) return out;
364 auto eval = [&](std::size_t i, std::size_t r, const std::vector<double>& t, std::vector<double>& F) {
365 if (laws[i][r].order() > 0) {
366 std::vector<T> tt;
367 for (double x : t) tt.push_back(num_traits<T>::from_double(x));
368 const std::vector<T> Fv = mam::map_cdf(laws[i][r], tt);
369 F.assign(t.size(), 0.0);
370 for (std::size_t p = 0; p < t.size(); ++p) F[p] = num_traits<T>::to_double(Fv[p]);
371 return true;
372 }
373 if (tabs[i][r]) {
374 F = tabs[i][r](t);
375 return true;
376 }
377 return false;
378 };
379 // The top of the grid is the first decade above Tm by which EVERY law
380 // holds 1 - FineTol: a slow service phase gives a PS or LCFS-PR sojourn
381 // a tail far beyond ten means.
382 std::vector<double> tend(4), Fend(4, 1.0);
383 for (std::size_t j = 0; j < 4; ++j) tend[j] = Tmax * std::pow(10.0, static_cast<double>(j + 1));
384 for (std::size_t i = 0; i < M; ++i)
385 for (std::size_t r = 0; r < K; ++r) {
386 std::vector<double> Fe;
387 if (!eval(i, r, tend, Fe)) continue;
388 for (std::size_t j = 0; j < 4; ++j) Fend[j] = std::min(Fend[j], Fe[j]);
389 }
390 std::size_t iend = 4;
391 for (std::size_t j = 0; j < 4; ++j)
392 if (1.0 - Fend[j] <= lang::GlobalConstants::FineTol) {
393 iend = j;
394 break;
395 }
396 if (iend == 4) {
397 iend = 3;
398 std::cerr << "[LINE] Warning: the response time CDFs hold only " << Fend[3]
399 << " of their mass on the computed support.\n";
400 }
401 const std::size_t npts = 100;
402 const double lo = std::log10(Tmax) - 2.0, hi = std::log10(tend[iend]);
403 std::vector<double> tset(npts);
404 out.tset.assign(npts, zero);
405 for (std::size_t j = 0; j < npts; ++j) {
406 tset[j] = std::pow(10.0, lo + (hi - lo) * static_cast<double>(j) / static_cast<double>(npts - 1));
407 out.tset[j] = num_traits<T>::from_double(tset[j]);
408 }
409 for (std::size_t i = 0; i < M; ++i)
410 for (std::size_t r = 0; r < K; ++r) {
411 std::vector<double> F;
412 if (!eval(i, r, tset, F)) continue;
413 Matrix<T> A(npts, 2, zero);
414 for (std::size_t j = 0; j < npts; ++j) {
415 A(j, 0) = num_traits<T>::from_double(F[j]);
416 A(j, 1) = out.tset[j];
417 }
418 out.RD[i][r] = A;
419 }
420 return out;
421 }
422}
423
424} // namespace nc
425} // namespace line
426
427#endif // LINE_SOLVERS_NC_SOLVER_NC_OPEN_CDFRESPT_H
UnsupportedError(const std::string &what)
Definition error.h:119
A network plus its refreshed NetworkStruct.
What refreshProcessRepresentations and refreshLST compute FROM a distribution: the (D0,...
The exception types the port throws.
Enumerations and the minimal distribution descriptor shared by the model layer of the C++ port.
Cumulative distribution of the inter-arrival time of a MAP.
Markovian arrival process descriptors: stationary vectors, rate, moments, autocorrelation and the ind...
Dense matrix and non-owning view.
mam::Map< T > dist_to_map(const Distrib< T > &d)
The (D0,D1) pair that reaches sn.proc.
SchedStrategy
Scheduling disciplines, with the values of MATLAB SchedStrategy.
Definition lang_types.h:194
ProcessType
Distribution kinds, with the values of MATLAB ProcessType.
Definition lang_types.h:524
const char * sched_to_text(SchedStrategy s)
Definition lang_types.h:248
const char * process_to_text(ProcessType p)
The MATLAB ProcessType name, as sn.procid prints it.
Definition lang_types.h:655
T map_mean(const Map< T > &m)
Mean inter-arrival time, 1/lambda.
Definition map_moment.h:101
std::vector< T > map_cdf(const Map< T > &m, const std::vector< T > &points)
Cumulative distribution of the inter-arrival time at the given points.
Definition map_cdf.h:63
std::vector< T > map_pie(const Map< T > &m)
Phase distribution seen by an arriving job, pie = pi D1 / (pi D1 e).
Definition map_moment.h:89
OiOpenCdfRespT< T > solver_nc_open_cdfrespt(const qn::NetworkStruct< T > &sn)
Port of solver_nc_open_cdfrespt.m.
Mg1PsResult qsys_mg1_ps(double lambda, const std::vector< double > &alpha, const Matrix< double > &Tmat, const Mg1PsOptions &opt)
Sojourn-time distribution of the M/G/1 processor-sharing queue.
MmapGk1LcfsprResult< T > qsys_mmapgk1_lcfspr(const std::vector< Matrix< T > > &MMAP, const std::vector< MmapGk1Service< T > > &svc, const MmapGk1LcfsprOptions< T > &opt)
MMAP[K]/G[K]/1 LCFS-PR, per type, by Takine's matrix product form.
Conservation laws of a layered queueing network, enumerated from its structure.
Definition aoi_dist2ph.h:51
A queueing network and its refreshed NetworkStruct.
Sojourn-time distribution of the M/G/1 processor-sharing queue.
The MMAP[K]/G[K]/1 LCFS-PR queue: K customer types with class-dependent GENERAL service under preempt...
Per-visit response-time distributions of an OPEN network of order-independent (OI) and BCMP stations:...
The <kind> part of a LINE:<category>:<kind> identifier (see _kb/17-error-vocabulary....
Definition error.h:37
static constexpr double FineTol
Definition lang_types.h:823
A MAP as the pair of matrices (D0, D1).
Definition map_moment.h:53
Matrix< T > D1
Definition map_moment.h:55
Matrix< T > D0
Definition map_moment.h:54
Return value of solver_oi_open_cdfrespt: RD{ist,r} = [F(t) t] and the shared grid.
std::vector< std::vector< Matrix< T > > > RD
One job class of the network.
double population
infinite for an open class
A node of the network.
One station of the network.
SchedStrategy sched
double nservers
may be infinite (a Delay, or an inf-scheduled task)
CdScaling< T > jdscaling
sn.jdscaling for this station: MATLAB's Station.ljdScaling, the JOINT dependence map eta_i(n),...
std::vector< T > lldscaling
sn.lldscaling for this station: the multiplier at population 1, 2, ... Empty when the station is not ...
CdScaling< T > cdscaling
sn.cdscaling for this station: the class-dependence map, empty when unset.
Options of qsys_mg1_ps, mirroring the reference's name-value pairs.
Definition qsys_mg1_ps.h:93
std::vector< double > tagAlpha
Initial vector of the TAGGED job's requirement, PH(tagAlpha, T), on the phase-type path only (empty: ...
std::vector< double > t
times to evaluate the sojourn distribution at
Definition qsys_mg1_ps.h:96
std::vector< double > cdfUncond
The MATLAB name-value options.
Return value of qsys_mmapgk1_lcfspr, mirroring the MATLAB struct.
std::vector< std::vector< T > > respCDF
[type][point], P(W_k <= t)
One marked type's service law, in any of the three forms the reference accepts: a Distribution object...