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

The replicated engine's knobs: the serial engine's, plus the two the reference reads from options.config on this path. More...

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

Inheritance diagram for line::ssa::SsaParallelOptions:
Collaboration diagram for line::ssa::SsaParallelOptions:

Public Attributes

std::size_t nreplicas = 8
 options.config.nreplicas: R, the FIXED number of independent replicas.
bool eventcache = false
 options.config.eventcache: memoize after_event inside each replica.
Public Attributes inherited from line::ssa::SsaSerialOptions
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.

Detailed Description

The replicated engine's knobs: the serial engine's, plus the two the reference reads from options.config on this path.

nreplicas defaults to 8, which is SolverOptions('SSA')'s own default and not a number chosen here; eventcache defaults to false, which is what the reference sets for every options.lang except java.

Definition at line 89 of file solver_ssa_parallel.h.

Member Data Documentation

◆ eventcache

bool line::ssa::SsaParallelOptions::eventcache = false

options.config.eventcache: memoize after_event inside each replica.

Definition at line 93 of file solver_ssa_parallel.h.

◆ nreplicas

std::size_t line::ssa::SsaParallelOptions::nreplicas = 8

options.config.nreplicas: R, the FIXED number of independent replicas.

Definition at line 91 of file solver_ssa_parallel.h.


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