![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
MATLAB's res struct: named measures in insertion order, plus res.analyzer. More...
#include <line/api/qsys/qsys_res.h>
Public Member Functions | |
| void | set (const std::string &name, const T &v) |
| Sets (or overwrites) a scalar field. | |
| void | set (const std::string &name, const std::vector< T > &v) |
| Sets (or overwrites) a vector field. | |
| bool | has (const std::string &name) const |
| T | scalar (const std::string &name) const |
| The scalar field name; throws when absent. | |
| const std::vector< T > & | vec (const std::string &name) const |
| The vector field name; throws when absent. | |
Public Attributes | |
| std::vector< QsysResFieldT< T > > | fields |
| std::string | analyzer |
MATLAB's res struct: named measures in insertion order, plus res.analyzer.
Templated on the arithmetic so that the closed forms which are pure field arithmetic keep their exact Rational values; QsysRes is the double one.
Definition at line 57 of file qsys_res.h.
|
inline |
Definition at line 65 of file qsys_res.h.
|
inline |
The scalar field name; throws when absent.
Definition at line 67 of file qsys_res.h.
Referenced by line::mva::solver_mva_finite_source_analyzer().
|
inline |
Sets (or overwrites) a vector field.
Definition at line 64 of file qsys_res.h.
|
inline |
Sets (or overwrites) a scalar field.
Definition at line 62 of file qsys_res.h.
Referenced by line::qsys::qsys_ddckk(), line::qsys::qsys_engset(), line::qsys::qsys_gimc(), line::qsys::qsys_gm1_res(), line::qsys::qsys_md1(), line::qsys::qsys_mer1(), line::qsys::qsys_mg1_busy(), line::qsys::qsys_mg1_exceptional(), line::qsys::qsys_mg1_prio_pr(), line::qsys::qsys_mg1_prio_res(), line::qsys::qsys_mg1_res(), line::qsys::qsys_mg1_setup(), line::qsys::qsys_mg1_sjf(), line::qsys::qsys_mg1kk(), line::qsys::qsys_mgc_ps(), line::qsys::qsys_mh21(), line::qsys::qsys_mm1_res(), line::qsys::qsys_mmc_prio(), line::qsys::qsys_mmc_prio_tardiness(), line::qsys::qsys_mmcc(), line::qsys::qsys_mmck_dist(), line::qsys::qsys_mmckk(), and line::qsys::qsys_mmk_res().
|
inline |
The vector field name; throws when absent.
Definition at line 73 of file qsys_res.h.
| std::string line::qsys::QsysResT< T >::analyzer |
Definition at line 59 of file qsys_res.h.
Referenced by line::reg::encode_qsys_res(), line::qsys::qsys_ddckk(), line::qsys::qsys_engset(), line::qsys::qsys_gimc(), line::qsys::qsys_gm1_res(), line::qsys::qsys_md1(), line::qsys::qsys_mer1(), line::qsys::qsys_mg1_busy(), line::qsys::qsys_mg1_exceptional(), line::qsys::qsys_mg1_prio_pr(), line::qsys::qsys_mg1_prio_res(), line::qsys::qsys_mg1_res(), line::qsys::qsys_mg1_setup(), line::qsys::qsys_mg1_sjf(), line::qsys::qsys_mg1kk(), line::qsys::qsys_mgc_ps(), line::qsys::qsys_mh21(), line::qsys::qsys_mm1_res(), line::qsys::qsys_mmc_prio(), line::qsys::qsys_mmc_prio_tardiness(), line::qsys::qsys_mmck_dist(), line::qsys::qsys_mmckk(), and line::qsys::qsys_mmk_res().
| std::vector<QsysResFieldT<T> > line::qsys::QsysResT< T >::fields |
Definition at line 58 of file qsys_res.h.
Referenced by line::reg::encode_qsys_res().