![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
The routing matrix a model script fills in, MATLAB's P cell array. More...
#include <line/lang/qn/network_builder.h>
Classes | |
| struct | Key |
Public Member Functions | |
| void | set (std::size_t r, std::size_t s, std::size_t i, std::size_t j, const T &p) |
| void | set (std::size_t i, std::size_t j, const T &p) |
| T | get (std::size_t r, std::size_t s, std::size_t i, std::size_t j) const |
Public Attributes | |
| std::map< Key, T > | entries |
The routing matrix a model script fills in, MATLAB's P cell array.
P{r,s}(i,j) is the probability that a job leaving node i in class r enters node j in class s. The single-class form set(i, j, p) is the shorthand a one-class model uses, and is exactly set(1, 1, i, j, p).
Definition at line 60 of file network_builder.h.
|
inline |
Definition at line 67 of file network_builder.h.
Referenced by line::qn::Network< double >::link().
|
inline |
Definition at line 65 of file network_builder.h.
Referenced by line::qn::RoutingMatrix< double >::set().
|
inline |
Definition at line 62 of file network_builder.h.
Referenced by line::io::build_network_from_json(), line::cyclic_routing(), line::fes::fes_aggregate(), line::api::infer_mlps(), line::qn::Network< double >::link(), line::io::pnml_load(), line::io::read_jsim(), line::serial_routing(), and line::api::sn_aggregate_chains().
| std::map<Key, T> line::qn::RoutingMatrix< T >::entries |
Definition at line 83 of file network_builder.h.
Referenced by line::qn::Network< double >::link().