LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::mdd::MddServiceLaw< T > Struct Template Reference

Phase-type service law of one station, as a Markovian (D0,D1) pair. More...

#include <line/api/mdd/mdd_types.h>

Public Member Functions

std::size_t phases () const

Public Attributes

Matrix< T > D0
Matrix< T > D1
std::vector< T > pie
 Optional entry law; empty to derive it from D1.
bool present = false
 false marks "this station is exponential"

Detailed Description

template<class T>
struct line::mdd::MddServiceLaw< T >

Phase-type service law of one station, as a Markovian (D0,D1) pair.

D0 holds the phase transitions that do not complete a service and D1 those that do, so the exit-rate vector is t0 = D1*1. For a renewal law D1 = t0*pie, and the entry law pie is then DERIVED from D1 rather than assumed (see mdd_entry_law). Set pie only to override that.

Definition at line 144 of file mdd_types.h.

Member Function Documentation

◆ phases()

template<class T>
std::size_t line::mdd::MddServiceLaw< T >::phases ( ) const
inline

Definition at line 151 of file mdd_types.h.

References D0, and line::Matrix< T >::rows().

Member Data Documentation

◆ D0

template<class T>
Matrix<T> line::mdd::MddServiceLaw< T >::D0

Definition at line 145 of file mdd_types.h.

Referenced by phases().

◆ D1

template<class T>
Matrix<T> line::mdd::MddServiceLaw< T >::D1

Definition at line 146 of file mdd_types.h.

◆ pie

template<class T>
std::vector<T> line::mdd::MddServiceLaw< T >::pie

Optional entry law; empty to derive it from D1.

Definition at line 148 of file mdd_types.h.

◆ present

template<class T>
bool line::mdd::MddServiceLaw< T >::present = false

false marks "this station is exponential"

Definition at line 149 of file mdd_types.h.


The documentation for this struct was generated from the following file: