![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
One point of a transient trajectory: the metrics at time t. More...
#include <line/solvers/fluid/solver_fluid.h>
Public Attributes | |
| double | t = 0.0 |
| Matrix< double > | QN |
| Matrix< double > | UN |
| Matrix< double > | TN |
| Matrix< double > | QVar |
| Per-(station,class) queue-length VARIANCE at this instant, empty where the method carries no second moment along the trajectory. | |
| Matrix< double > | QCov |
| The same second moment as a FULL (M*K)-by-(M*K) covariance, indexed ir = r*M + i, empty wherever QVar is. | |
One point of a transient trajectory: the metrics at time t.
getTranAvg in the reference returns QNt/UNt/TNt as (station x class) cell arrays of time series; this carries the same information sampled at a grid, which is what a caller plots or integrates.
Definition at line 316 of file solver_fluid.h.
| Matrix<double> line::fluid::FluidTranPoint::QCov |
The same second moment as a FULL (M*K)-by-(M*K) covariance, indexed ir = r*M + i, empty wherever QVar is.
QVar is its diagonal reshaped; the off-diagonal entries carry the cross-station and cross-class terms a per-pair variance drops, which is what a coupling carrying a distribution across a handoff needs – SolverEnv's meancov is the case it exists for.
Definition at line 334 of file solver_fluid.h.
Referenced by line::fluid::solver_fluid_dae_transient().
| Matrix<double> line::fluid::FluidTranPoint::QN |
Definition at line 318 of file solver_fluid.h.
Referenced by line::fluid::solver_fluid_dae_transient(), line::fluid::solver_fluid_qsys(), and line::fluid::solver_fluid_transient().
| Matrix<double> line::fluid::FluidTranPoint::QVar |
Per-(station,class) queue-length VARIANCE at this instant, empty where the method carries no second moment along the trajectory.
Only the dae route fills it, and only below FluidDaeOptions::maxcov: the moment closures evaluate their whole transient at the single stationary variance, so a per-point variance would be the same number repeated.
Definition at line 326 of file solver_fluid.h.
Referenced by line::fluid::solver_fluid_dae_transient().
| double line::fluid::FluidTranPoint::t = 0.0 |
Definition at line 317 of file solver_fluid.h.
Referenced by line::fluid::solver_fluid_dae_transient(), line::fluid::solver_fluid_qsys(), and line::fluid::solver_fluid_transient().
| Matrix<double> line::fluid::FluidTranPoint::TN |
Definition at line 318 of file solver_fluid.h.
Referenced by line::fluid::solver_fluid_dae_transient(), line::fluid::solver_fluid_qsys(), and line::fluid::solver_fluid_transient().
| Matrix<double> line::fluid::FluidTranPoint::UN |
Definition at line 318 of file solver_fluid.h.
Referenced by line::fluid::solver_fluid_dae_transient(), line::fluid::solver_fluid_qsys(), and line::fluid::solver_fluid_transient().