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

#include <line/io/qn_reader.h>

Collaboration diagram for line::io::QnModel< T >:

Public Member Functions

bool isClosedLoadIndependent () const
 True when the model is a plain closed network the exact solvers accept.

Public Attributes

int R = 0
 classes
int M = 0
 queueing stations
std::vector< int > N
 population per class, -1 for an open class
Matrix< T > Z
 (1 x R) think times
Matrix< T > L
 (M x R) demands
std::vector< int > mi
 (M) multiplicities
bool hasOpen = false
 LAMBDA section present.
std::vector< T > lambda
 (R) arrival rates, empty when absent
bool isLD = false
 MU section present.
Matrix< T > mu
 (M x Nt) load-dependent rates
int Nt = 0
 total closed population

Detailed Description

template<class T>
struct line::io::QnModel< T >

Definition at line 43 of file qn_reader.h.

Member Function Documentation

◆ isClosedLoadIndependent()

template<class T>
bool line::io::QnModel< T >::isClosedLoadIndependent ( ) const
inline

True when the model is a plain closed network the exact solvers accept.

Definition at line 57 of file qn_reader.h.

References hasOpen, and isLD.

Member Data Documentation

◆ hasOpen

template<class T>
bool line::io::QnModel< T >::hasOpen = false

LAMBDA section present.

Definition at line 50 of file qn_reader.h.

Referenced by isClosedLoadIndependent(), and line::io::read_qn().

◆ isLD

template<class T>
bool line::io::QnModel< T >::isLD = false

MU section present.

Definition at line 52 of file qn_reader.h.

Referenced by isClosedLoadIndependent(), and line::io::read_qn().

◆ L

template<class T>
Matrix<T> line::io::QnModel< T >::L

(M x R) demands

Definition at line 48 of file qn_reader.h.

Referenced by line::io::read_qn().

◆ lambda

template<class T>
std::vector<T> line::io::QnModel< T >::lambda

(R) arrival rates, empty when absent

Definition at line 51 of file qn_reader.h.

Referenced by line::io::read_qn().

◆ M

template<class T>
int line::io::QnModel< T >::M = 0

queueing stations

Definition at line 45 of file qn_reader.h.

Referenced by line::io::read_qn().

◆ mi

template<class T>
std::vector<int> line::io::QnModel< T >::mi

(M) multiplicities

Definition at line 49 of file qn_reader.h.

Referenced by line::io::read_qn().

◆ mu

template<class T>
Matrix<T> line::io::QnModel< T >::mu

(M x Nt) load-dependent rates

Definition at line 53 of file qn_reader.h.

Referenced by line::io::read_qn().

◆ N

template<class T>
std::vector<int> line::io::QnModel< T >::N

population per class, -1 for an open class

Definition at line 46 of file qn_reader.h.

Referenced by line::io::read_qn().

◆ Nt

template<class T>
int line::io::QnModel< T >::Nt = 0

total closed population

Definition at line 54 of file qn_reader.h.

Referenced by line::io::read_qn().

◆ R

template<class T>
int line::io::QnModel< T >::R = 0

classes

Definition at line 44 of file qn_reader.h.

Referenced by line::io::read_qn().

◆ Z

template<class T>
Matrix<T> line::io::QnModel< T >::Z

(1 x R) think times

Definition at line 47 of file qn_reader.h.

Referenced by line::io::read_qn().


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