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

Controls, defaulting to SolverOptions('SSA') in the reference. More...

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

Inheritance diagram for line::ssa::SsaOptions:
Collaboration diagram for line::ssa::SsaOptions:

Public Attributes

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.

Detailed Description

Controls, defaulting to SolverOptions('SSA') in the reference.

Definition at line 69 of file ssa_types.h.

Member Data Documentation

◆ method

std::string line::ssa::SsaOptions::method = "default"

default and nrm both select the Next Reaction Method here.

Definition at line 71 of file ssa_types.h.

Referenced by line::ssa::solver_ssa_parallel_analyzer().

◆ samples

std::size_t line::ssa::SsaOptions::samples = 10000

Reaction firings to simulate; options.samples in the reference.

Definition at line 73 of file ssa_types.h.

Referenced by line::ssa::solver_ssa_parallel_analyzer().

◆ seed

unsigned long line::ssa::SsaOptions::seed = 23000

options.seed; LINE's own default is 23000.

Definition at line 75 of file ssa_types.h.

Referenced by line::ssa::solver_ssa_parallel_analyzer().

◆ state_space_gen

std::string line::ssa::SsaOptions::state_space_gen = "default"

options.config.state_space_gen of solver_ssa_analyzer_nrm.m: which of the two NRM engines runs.

none and default take the plain engine, which integrates the metrics along the path; anything else takes the tabulating one, which records the states it visits and forms the means as pi * A over them. The two answer the same question by different routes, which is what makes them testable against each other.

Definition at line 97 of file ssa_types.h.

◆ verbose

bool line::ssa::SsaOptions::verbose = false

Definition at line 76 of file ssa_types.h.

Referenced by line::ssa::solver_ssa_parallel_analyzer().

◆ warmupfrac

double line::ssa::SsaOptions::warmupfrac = 0.0

options.config.warmupfrac: the leading fraction of the path discarded before the means are taken.

DECLARED HERE, NOT ON SsaSerialOptions, although only the serial and replicated engines read one: ssa_serial_options builds the engine's knobs by copying the BASE slice of the caller's, so a field on the derived struct is unreachable from a caller and kept its default however the request was spelled – which is what made --warmupfrac a knob the C++ CLI could not offer at all.

Definition at line 88 of file ssa_types.h.


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