LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::fluid::FluidTranPoint Struct Reference

One point of a transient trajectory: the metrics at time t. More...

#include <line/solvers/fluid/solver_fluid.h>

Collaboration diagram for line::fluid::FluidTranPoint:

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.

Detailed Description

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.

Member Data Documentation

◆ QCov

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().

◆ QN

Matrix<double> line::fluid::FluidTranPoint::QN

◆ QVar

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().

◆ t

double line::fluid::FluidTranPoint::t = 0.0

◆ TN

Matrix<double> line::fluid::FluidTranPoint::TN

◆ UN

Matrix<double> line::fluid::FluidTranPoint::UN

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