LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
sn_reducible_chain.h File Reference

Port of sn_reducible_chain_refusal.m: refusal of a closed chain whose (station,class) routing is reducible. More...

#include <cmath>
#include <cstddef>
#include <string>
#include <vector>
#include "line/api/mc/stronglyconncomp.h"
#include "line/lang/qn/network_struct.h"
#include "line/num/number.h"
#include "line/util/matrix.h"
Include dependency graph for sn_reducible_chain.h:

Go to the source code of this file.

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.
namespace  line::api

Functions

template<class T>
std::string line::api::sn_reducible_chain_refusal (const qn::NetworkStruct< T > &sn)
 The by-name refusal of the first closed chain whose (station,class) routing has more than one closed communicating class reachable from the reference stations, or "" when there is none.

Detailed Description

Port of sn_reducible_chain_refusal.m: refusal of a closed chain whose (station,class) routing is reducible.

A chain is a set of CLASSES (a connected component of class switching), but a job moves over (stateful node, class) PAIRS. Class switching can join two classes into one chain while splitting their pairs into disjoint closed sets; jobs then never cross between the sets, so each set holds a population fixed by the initial state, whereas the product-form solvers normalize the whole chain population over every set at once and return a stationary mixture that no initial state produces (test_CQN_Reduc_1: X = 0.48327 in every cell against the exact 0.282609 and 0.695652). The exact answer is the product form with one chain per closed set, which the class-based chain cannot express, so SolverMVA and SolverNC refuse the model instead.

Copyright (c) 2012-2026, Imperial College London All rights reserved.

Definition in file sn_reducible_chain.h.