![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Traffic variability equations of the Robust Queueing Network Analyzer (W. More...
#include <cstddef>#include <functional>#include <vector>#include "line/api/npfqn/npfqn_rqna_weight.h"#include "line/api/npfqn/npfqn_types.h"#include "line/num/number.h"#include "line/util/error.h"#include "line/util/lu.h"#include "line/util/matrix.h"Go to the source code of this file.
Classes | |
| struct | line::npfqn::TrafficIdcCorrections |
| Toggle for the two correction terms, mirroring MATLAB's corrections. More... | |
| struct | line::npfqn::TrafficIdcContext< T > |
| Context returned by npfqn_traffic_idc, mirroring the MATLAB ctx struct. More... | |
Namespaces | |
| namespace | line |
| namespace | line::npfqn |
Functions | |
| template<class T> | |
| TrafficIdcContext< T > | line::npfqn::npfqn_traffic_idc (const std::vector< T > &lambda0, const Matrix< T > &P, const std::vector< T > &c2a0, const std::vector< T > &mu, const std::vector< T > &cs2, const TrafficIdcCorrections &corrections) |
| Traffic variability equations of the Robust Queueing Network Analyzer (W. | |
| template<class T> | |
| TrafficIdcContext< T > | line::npfqn::npfqn_traffic_idc (const std::vector< T > &lambda0, const Matrix< T > &P, const std::vector< T > &c2a0, const std::vector< T > &mu, const std::vector< T > &cs2) |
| Default corrections (both on), matching MATLAB's nargin < 8 branch. | |
| template<class T> | |
| std::vector< T > | line::npfqn::npfqn_traffic_idc_at (const TrafficIdcContext< T > &ctx, const T &t, const std::function< std::vector< T >(const T &)> &a0IdcFun, const std::function< std::vector< T >(const std::vector< T > &)> &sIdcFun) |
| Time-dependent IDC equations (eq. | |
Traffic variability equations of the Robust Queueing Network Analyzer (W.
Whitt and W. You 2018, "A Robust Queueing Network Analyzer Based on Indices of Dispersion").
Templated port of matlab/src/api/npfqn/npfqn_traffic_idc.m. The JAR carries the same algorithm in jar/src/main/java/jline/api/npfqn/Npfqn_traffic_idc.java; both were cross-read and agree on every equation.
The model is a single-class open network of K single-server FCFS queues with Markovian routing P. Two pieces are computed:
Deviations from MATLAB, both mechanical:
Definition in file npfqn_traffic_idc.h.