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

One entry of options.config.rate_sched: the rate of (station, class) follows the piecewise-linear schedule (tgrid, rates) over a transient. More...

#include <line/solvers/ctmc/solver_ctmc_analyzer.h>

Collaboration diagram for line::ctmc::CtmcRateSched:

Public Attributes

std::size_t station = 0
std::size_t cls = 0
std::vector< double > tgrid
std::vector< double > rates
double nominal = std::numeric_limits<double>::quiet_NaN()

Detailed Description

One entry of options.config.rate_sched: the rate of (station, class) follows the piecewise-linear schedule (tgrid, rates) over a transient.

station and cls are 1-based, as in the MATLAB struct. The multiplier the generator is scaled by is rate(t) / nominal, where a NaN nominal means the model's own rate at that (station, class), which is the reference default. Outside [tgrid.front(), tgrid.back()] the schedule holds its end values.

Definition at line 87 of file solver_ctmc_analyzer.h.

Member Data Documentation

◆ cls

std::size_t line::ctmc::CtmcRateSched::cls = 0

Definition at line 89 of file solver_ctmc_analyzer.h.

◆ nominal

double line::ctmc::CtmcRateSched::nominal = std::numeric_limits<double>::quiet_NaN()

Definition at line 92 of file solver_ctmc_analyzer.h.

◆ rates

std::vector<double> line::ctmc::CtmcRateSched::rates

Definition at line 91 of file solver_ctmc_analyzer.h.

◆ station

std::size_t line::ctmc::CtmcRateSched::station = 0

Definition at line 88 of file solver_ctmc_analyzer.h.

◆ tgrid

std::vector<double> line::ctmc::CtmcRateSched::tgrid

Definition at line 90 of file solver_ctmc_analyzer.h.


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