![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/api/pfqn/pfqn_nc.h>
Public Attributes | |
| T | G |
| normalizing constant, exact when the method is | |
| double | lG |
| its logarithm | |
| std::vector< T > | X |
| (R) per-class throughput, empty when not produced | |
| Matrix< T > | Q |
| (M x R) queue lengths, empty when not produced | |
| std::string | method |
| the algorithm actually used | |
| bool | valid = true |
| False when the METHOD DECLINED THE MODEL, which is the reference's lG = []: pana outside normal usage, or mmint2/gleint on a model with more than one queueing station. | |
| T line::pfqn::NcDispatchResult< T >::G |
normalizing constant, exact when the method is
Definition at line 242 of file pfqn_nc.h.
Referenced by line::pfqn::pfqn_nc().
| double line::pfqn::NcDispatchResult< T >::lG |
its logarithm
Definition at line 243 of file pfqn_nc.h.
Referenced by line::pfqn::pfqn_nc(), and line::nc::solver_nc().
| std::string line::pfqn::NcDispatchResult< T >::method |
the algorithm actually used
Definition at line 246 of file pfqn_nc.h.
Referenced by line::pfqn::pfqn_nc(), and line::nc::solver_nc().
| Matrix<T> line::pfqn::NcDispatchResult< T >::Q |
(M x R) queue lengths, empty when not produced
Definition at line 245 of file pfqn_nc.h.
Referenced by line::pfqn::pfqn_nc(), and line::nc::solver_nc().
| bool line::pfqn::NcDispatchResult< T >::valid = true |
False when the METHOD DECLINED THE MODEL, which is the reference's lG = []: pana outside normal usage, or mmint2/gleint on a model with more than one queueing station.
MATLAB warns and returns empty, and getAvg then renders a table of ZEROS while still reporting a completed analysis; the caller reproduces that by returning an all-zero solution.
This is NOT the same as a refusal. A refusal throws, and the reference throws too – comom on a multi-queue model is line_error in pfqn_nc.m, added deliberately with the comment that "a silently zeroed result is worse than no result". Only the two branches above decline. Ruled by the user on 2026-07-25 (register row N1).
Definition at line 260 of file pfqn_nc.h.
Referenced by line::pfqn::pfqn_nc(), and line::nc::solver_nc().
| std::vector<T> line::pfqn::NcDispatchResult< T >::X |
(R) per-class throughput, empty when not produced
Definition at line 244 of file pfqn_nc.h.
Referenced by line::pfqn::pfqn_nc(), and line::nc::solver_nc().