LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::pfqn::SdrStruct Struct Reference

Topology and coefficients of a state-dependent routing subnetwork. More...

#include <line/api/pfqn/pfqn_sdr.h>

Collaboration diagram for line::pfqn::SdrStruct:

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.

Detailed Description

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.

Member Function Documentation

◆ empty()

bool line::pfqn::SdrStruct::empty ( ) const
inline

Definition at line 77 of file pfqn_sdr.h.

References branch.

Member Data Documentation

◆ branch

std::vector<std::vector<std::size_t> > line::pfqn::SdrStruct::branch

◆ C

std::vector<double> line::pfqn::SdrStruct::C

◆ d

Matrix<double> line::pfqn::SdrStruct::d

◆ departure

std::size_t line::pfqn::SdrStruct::departure = 0

◆ departureOf

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().

◆ entry

std::size_t line::pfqn::SdrStruct::entry = 0

◆ entryOf

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().

◆ level

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().


The documentation for this struct was generated from the following file: