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

The serial engine's knobs: SsaOptions plus the three the serial path reads and the NRM has no use for. More...

#include <line/solvers/ssa/solver_ssa_serial.h>

Inheritance diagram for line::ssa::SsaSerialOptions:
Collaboration diagram for line::ssa::SsaSerialOptions:

Public Attributes

std::size_t state_max = 3000000
 refuse a reachable space larger than this
Public Attributes inherited from line::ssa::SsaOptions
std::string method = "default"
 default and nrm both select the Next Reaction Method here.
std::size_t samples = 10000
 Reaction firings to simulate; options.samples in the reference.
unsigned long seed = 23000
 options.seed; LINE's own default is 23000.
bool verbose = false
double warmupfrac = -1.0
 options.config.warmupfrac: the leading fraction of the path discarded before the means are taken.
std::string state_space_gen = "default"
 options.config.state_space_gen of solver_ssa_analyzer_nrm.m: which of the two NRM engines runs.
double cutoff = -1.0
 options.cutoff: the bound on an open class's jobs at a station, which the serial and replicated engines resolve as SolverCTMC does (< 0 = the reference's automatic value).

Detailed Description

The serial engine's knobs: SsaOptions plus the three the serial path reads and the NRM has no use for.

cutoff (declared on the base, see SsaOptions::cutoff) bounds an open class exactly as SolverCTMC's does, and for the same reason: it fixes how wide a station's buffer encoding is, so it decides where the truncation sits. A refused arrival at the truncation boundary is a LOSS (arrival_is_lost on an open class), which is what the CTMC truncation does too, so the two solvers truncate the same model the same way.

Definition at line 106 of file solver_ssa_serial.h.

Member Data Documentation

◆ state_max

std::size_t line::ssa::SsaSerialOptions::state_max = 3000000

refuse a reachable space larger than this

Definition at line 107 of file solver_ssa_serial.h.


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