LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::qn::blocks_detail Namespace Reference

Functions

bool is_phase_type (lang::ProcessType p)
 The laws a server-state block takes, python _ph: every CONTINUOUS family with a (D0, initial vector) representation – the renewal phase-type ones, a MAP or MMPP2 (its interval law, entered at the embedded vector map_pie, as the reference's getInitProb), and the matrix-exponential ME and RAP.
template<class T>
SetupLaw< T > phase_law (const lang::Distrib< T > &d, const std::string &what, const std::string &node, const std::string &cls)

Function Documentation

◆ is_phase_type()

bool line::qn::blocks_detail::is_phase_type ( lang::ProcessType p)
inline

The laws a server-state block takes, python _ph: every CONTINUOUS family with a (D0, initial vector) representation – the renewal phase-type ones, a MAP or MMPP2 (its interval law, entered at the embedded vector map_pie, as the reference's getInitProb), and the matrix-exponential ME and RAP.

The marked and batch families (MMAP, MPH, BMAP) have no single interval law and the reference fails on them; a DMAP is discrete-time, so its D0 is not a rate matrix (the reference reads it as one as a delay-off, and fails on it as a setup). All of those are refused here, as is every non-Markovian law.

Definition at line 103 of file ctmc_blocks.h.

References is_phase_type().

Referenced by is_phase_type(), and phase_law().

◆ phase_law()