![]() |
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) |
| void | set (std::size_t cls, const RoutingMatrix< T > &block) |
| P.set(class, Network.serialRouting(...)): install a one-class block. | |
| 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 79 of file network_builder.h.
Referenced by line::qn::Network< double >::link().
|
inline |
P.set(class, Network.serialRouting(...)): install a one-class block.
The source block's class coordinates are deliberately ignored. A serial routing matrix is a topology block; this call assigns that topology to the requested class, exactly as the MATLAB, JAR and Python APIs do.
Definition at line 74 of file network_builder.h.
|
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::infer::infer_quick_model(), line::io::jmva2line(), line::qn::Network< double >::link(), line::io::pnml_load(), line::io::read_jsim(), line::qn::Network< double >::serial_routing(), line::serial_routing(), and line::api::sn_aggregate_chains().
| std::map<Key, T> line::qn::RoutingMatrix< T >::entries |
Definition at line 95 of file network_builder.h.
Referenced by line::qn::Network< double >::link().