![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Topology and coefficients of a state-dependent routing subnetwork. More...
#include <line/api/pfqn/pfqn_sdr.h>
Public Member Functions | |
| bool | empty () const |
Public Attributes | |
| std::size_t | entry = 0 |
| Entry centre e of Q(V,V). | |
| std::size_t | departure = 0 |
| Departure centre d of Q(V,V); may equal entry. | |
| std::vector< std::vector< std::size_t > > | branch |
| branch[b] holds the centres of branch b, b >= 1; branch[0] is unused. | |
| std::vector< std::size_t > | entryOf |
| entryOf[b] is the entry centre e(b) of branch b. | |
| std::vector< std::size_t > | departureOf |
| departureOf[b] is the departure centre d(b) of branch b. | |
| std::vector< std::size_t > | level |
| level[b] is the unique t with B_b in V_t - V_{t+1}; level[0] is unused. | |
| std::vector< double > | C |
| Coefficients C_t of eq. | |
| Matrix< double > | d |
| Coefficients d_tb of eq. | |
Topology and coefficients of a state-dependent routing subnetwork.
Centre indices are whatever space the caller uses consistently: node indices for the per-state routing probabilities, station indices for the product form.
Definition at line 59 of file pfqn_sdr.h.
|
inline |
Definition at line 77 of file pfqn_sdr.h.
References branch.
| std::vector<std::vector<std::size_t> > line::pfqn::SdrStruct::branch |
branch[b] holds the centres of branch b, b >= 1; branch[0] is unused.
Definition at line 65 of file pfqn_sdr.h.
Referenced by empty(), line::io::network_to_json(), line::pfqn::pfqn_sdr(), line::pfqn::pfqn_sdrcoeff(), line::pfqn::pfqn_sdrmva(), line::pfqn::pfqn_sdrprob(), line::pfqn::pfqn_sdrvisits(), and line::qn::Network< double >::set_state_dep_routing().
| std::vector<double> line::pfqn::SdrStruct::C |
Coefficients C_t of eq.
(11), length T.
Definition at line 73 of file pfqn_sdr.h.
Referenced by line::io::network_to_json(), line::pfqn::pfqn_sdr(), line::pfqn::pfqn_sdrcoeff(), line::pfqn::pfqn_sdrmva(), line::pfqn::pfqn_sdrprob(), and line::qn::Network< double >::set_state_dep_routing().
| Matrix<double> line::pfqn::SdrStruct::d |
Coefficients d_tb of eq.
(11), T rows by B columns.
Definition at line 75 of file pfqn_sdr.h.
Referenced by line::io::network_to_json(), line::pfqn::pfqn_sdr(), line::pfqn::pfqn_sdrcoeff(), line::pfqn::pfqn_sdrmva(), line::pfqn::pfqn_sdrprob(), and line::qn::Network< double >::set_state_dep_routing().
| std::size_t line::pfqn::SdrStruct::departure = 0 |
Departure centre d of Q(V,V); may equal entry.
Definition at line 63 of file pfqn_sdr.h.
Referenced by line::io::network_to_json(), line::pfqn::pfqn_sdrcoeff(), line::pfqn::pfqn_sdrvisits(), and line::qn::Network< double >::set_state_dep_routing().
| std::vector<std::size_t> line::pfqn::SdrStruct::departureOf |
departureOf[b] is the departure centre d(b) of branch b.
Definition at line 69 of file pfqn_sdr.h.
Referenced by line::pfqn::pfqn_sdrcoeff(), and line::qn::Network< double >::set_state_dep_routing().
| std::size_t line::pfqn::SdrStruct::entry = 0 |
Entry centre e of Q(V,V).
Definition at line 61 of file pfqn_sdr.h.
Referenced by line::io::network_to_json(), line::pfqn::pfqn_sdrcoeff(), line::pfqn::pfqn_sdrvisits(), and line::qn::Network< double >::set_state_dep_routing().
| std::vector<std::size_t> line::pfqn::SdrStruct::entryOf |
entryOf[b] is the entry centre e(b) of branch b.
Definition at line 67 of file pfqn_sdr.h.
Referenced by line::pfqn::pfqn_sdrcoeff(), line::pfqn::pfqn_sdrvisits(), and line::qn::Network< double >::set_state_dep_routing().
| std::vector<std::size_t> line::pfqn::SdrStruct::level |
level[b] is the unique t with B_b in V_t - V_{t+1}; level[0] is unused.
Definition at line 71 of file pfqn_sdr.h.
Referenced by line::io::network_to_json(), line::pfqn::pfqn_sdr(), line::pfqn::pfqn_sdrcoeff(), line::pfqn::pfqn_sdrmva(), line::pfqn::pfqn_sdrprob(), and line::qn::Network< double >::set_state_dep_routing().