![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
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>
Public Attributes | |
| double | cutoff = -1.0 |
| < 0 = the reference's automatic value | |
| 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 = 0.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. | |
The serial engine's knobs: SsaOptions plus the three the serial path reads and the NRM has no use for.
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 103 of file solver_ssa_serial.h.
| double line::ssa::SsaSerialOptions::cutoff = -1.0 |
< 0 = the reference's automatic value
Definition at line 104 of file solver_ssa_serial.h.
| std::size_t line::ssa::SsaSerialOptions::state_max = 3000000 |
refuse a reachable space larger than this
Definition at line 105 of file solver_ssa_serial.h.