LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::pfqn::NcDispatchResult< T > Struct Template Reference

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

Collaboration diagram for line::pfqn::NcDispatchResult< T >:

Public Attributes

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.

Detailed Description

template<class T>
struct line::pfqn::NcDispatchResult< T >

Definition at line 241 of file pfqn_nc.h.

Member Data Documentation

◆ G

template<class T>
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().

◆ lG

template<class T>
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().

◆ method

template<class T>
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().

◆ Q

template<class T>
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().

◆ valid

template<class T>
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().

◆ X

template<class T>
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().


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