![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Functions | |
| template<class T> | |
| Matrix< T > | kron (const Matrix< T > &A, const Matrix< T > &B) |
| template<class T> | |
| Matrix< T > | eye (std::size_t n) |
| template<class T> | |
| Matrix< T > | krons (const Matrix< T > &A, const Matrix< T > &B) |
| krons(A,B) = kron(A, I) + kron(I, B). | |
| template<class T> | |
| void | arc_process (const Environment< T > &env, std::size_t e, std::size_t h, Matrix< T > &D0, Matrix< T > &D1) |
| The arc's (D0, D1), or Exp(0) when the arc is not declared. | |
| template<class T> | |
| Matrix< T > | arc_pie (const Environment< T > &env, std::size_t f, std::size_t h, std::size_t n) |
| map_pie of the arc as a row, or ones(1, n) when it is NaN (an Exp(0) arc). | |
| Matrix< T > line::env::gen_detail::arc_pie | ( | const Environment< T > & | env, |
| std::size_t | f, | ||
| std::size_t | h, | ||
| std::size_t | n ) |
map_pie of the arc as a row, or ones(1, n) when it is NaN (an Exp(0) arc).
Definition at line 114 of file env_generator.h.
References arc_pie(), arc_process(), line::Matrix< T >::cols(), line::mam::Map< T >::D0, line::mam::Map< T >::D1, line::mam::map_pie(), line::Matrix< T >::Matrix(), and line::Matrix< T >::rows().
Referenced by arc_pie().
| void line::env::gen_detail::arc_process | ( | const Environment< T > & | env, |
| std::size_t | e, | ||
| std::size_t | h, | ||
| Matrix< T > & | D0, | ||
| Matrix< T > & | D1 ) |
The arc's (D0, D1), or Exp(0) when the arc is not declared.
Definition at line 96 of file env_generator.h.
References arc_process(), line::env::EnvArc< T >::dist, line::env::EnvArc< T >::enabled, line::Matrix< T >::Matrix(), and line::UnsupportedError::UnsupportedError().
Referenced by arc_pie(), and arc_process().
| Matrix< T > line::env::gen_detail::eye | ( | std::size_t | n | ) |
| Matrix< T > line::env::gen_detail::kron | ( | const Matrix< T > & | A, |
| const Matrix< T > & | B ) |
Definition at line 64 of file env_generator.h.
References line::Matrix< T >::cols(), kron(), and line::Matrix< T >::rows().
| Matrix< T > line::env::gen_detail::krons | ( | const Matrix< T > & | A, |
| const Matrix< T > & | B ) |
krons(A,B) = kron(A, I) + kron(I, B).
Definition at line 86 of file env_generator.h.
References line::Matrix< T >::cols(), eye(), kron(), krons(), and line::Matrix< T >::rows().
Referenced by krons().