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

Port of matlab/src/api/sn/sn_renewal_lst.m. More...

#include <complex>
#include <cstddef>
#include <functional>
#include <vector>
#include "line/api/mam/map_moment.h"
#include "line/lang/distribution.h"
#include "line/lang/lang_types.h"
#include "line/lang/qn/network_struct.h"
#include "line/num/number.h"
#include "line/util/eig.h"
#include "line/util/lu.h"
#include "line/util/matrix.h"
Include dependency graph for sn_renewal_lst.h:

Go to the source code of this file.

Namespaces

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

Typedefs

using line::api::RenewalLst = std::function<double(double)>
 A real-argument Laplace-Stieltjes transform; empty when there is none.

Functions

template<class T>
RenewalLst line::api::sn_renewal_lst (const qn::NetworkStruct< T > &sn, std::size_t ist)
 Renewal inter-arrival LST of class 1 at station ist (1-based).

Detailed Description

Port of matlab/src/api/sn/sn_renewal_lst.m.

The Laplace-Stieltjes transform of the inter-arrival law of class 1 at station ist, when that law is a renewal process; empty otherwise.

A Markovian law (D0, D1) is renewal when D1 has rank at most one; then LA(s) = pie (sI - D0)^{-1} D1 e with pie = map_pie. A Markovian law whose D1 has a higher rank (a correlated MAP) has no renewal transform and answers empty, as the reference returns there without looking further. A non-Markovian law answers its sn.lst handle, when it has one.

ARITHMETIC: the transform is evaluated in double (it feeds the GI/M/c root search, which is double), whatever the struct's arithmetic.

Definition in file sn_renewal_lst.h.