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

The MATLAB GlobalConstants, as reported by lineStart at its defaults. More...

#include <line/lang/lang_types.h>

Static Public Attributes

static constexpr double FineTol = 1e-8
static constexpr double CoarseTol = 1e-3
static constexpr double Zero = 1e-14
static constexpr double ArcTol = 1e-12
 Below this an off-diagonal entry is NO ARC of the phase / state graph.
static constexpr double Immediate = 1e8
 Rate of an Immediate distribution; its mean is 1/Immediate = 1e-8.
static constexpr double MaxInt = 2147483647.0
 Stand-in for an unbounded COUNT, MATLAB GlobalConstants.MaxInt.

Detailed Description

The MATLAB GlobalConstants, as reported by lineStart at its defaults.

These are doubles on purpose even in the exact instantiation: they are tolerances and sentinels of the ALGORITHM, not quantities of the model, and lineStart prints exactly these values. Converting them through num_traits<T>::from_double keeps the exact backend reproducing the same branch decisions as the reference rather than a mathematically cleaner set.

Definition at line 667 of file lang_types.h.

Member Data Documentation

◆ ArcTol

double line::lang::GlobalConstants::ArcTol = 1e-12
staticconstexpr

Below this an off-diagonal entry is NO ARC of the phase / state graph.

Definition at line 672 of file lang_types.h.

◆ CoarseTol

double line::lang::GlobalConstants::CoarseTol = 1e-3
staticconstexpr

Definition at line 669 of file lang_types.h.

Referenced by line::mam::solver_mam_basic().

◆ FineTol

◆ Immediate

double line::lang::GlobalConstants::Immediate = 1e8
staticconstexpr

Rate of an Immediate distribution; its mean is 1/Immediate = 1e-8.

Definition at line 674 of file lang_types.h.

Referenced by line::mam::solver_mam_basic().

◆ MaxInt

double line::lang::GlobalConstants::MaxInt = 2147483647.0
staticconstexpr

Stand-in for an unbounded COUNT, MATLAB GlobalConstants.MaxInt.

Used where a state row must hold a server count and Inf is not a count.

Definition at line 679 of file lang_types.h.

◆ Zero

double line::lang::GlobalConstants::Zero = 1e-14
staticconstexpr

Definition at line 670 of file lang_types.h.


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