LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::ssa::SsaNrmSpaceRun< T > Struct Template Reference

What solver_ssa_nrm_space.m returns, plus what makes it a measurement. More...

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

Collaboration diagram for line::ssa::SsaNrmSpaceRun< T >:

Public Attributes

std::vector< NrmSpaceStatespace
 outspace: the distinct states visited, in first-visit order.
std::vector< double > pi
 pi: the fraction of simulated time spent in each of them.
Matrix< double > dep_rates
 depRates, (states x nnodes*nclasses): the departure rate of each (node, class) in each state, read off the cached propensity vector.
std::vector< double > tran_time
 t: the cumulative time at each firing.
std::vector< std::size_t > tran_rx
 kfires: which reaction fired.
double simulated_time = 0.0
std::size_t samples = 0
unsigned long seed = 0

Detailed Description

template<class T>
struct line::ssa::SsaNrmSpaceRun< T >

What solver_ssa_nrm_space.m returns, plus what makes it a measurement.

Definition at line 263 of file solver_ssa_nrm_space.h.

Member Data Documentation

◆ dep_rates

template<class T>
Matrix<double> line::ssa::SsaNrmSpaceRun< T >::dep_rates

depRates, (states x nnodes*nclasses): the departure rate of each (node, class) in each state, read off the cached propensity vector.

EXACT PER STATE, not a sample mean: a propensity is a function of the state, so observing it once is knowing it. The reference stores the same vector in reactCache for the same reason.

Definition at line 276 of file solver_ssa_nrm_space.h.

Referenced by line::ssa::NrmSpaceEngine< T >::run(), and line::ssa::solver_ssa_nrm_space_analyzer().

◆ pi

template<class T>
std::vector<double> line::ssa::SsaNrmSpaceRun< T >::pi

pi: the fraction of simulated time spent in each of them.

Definition at line 267 of file solver_ssa_nrm_space.h.

Referenced by line::ssa::NrmSpaceEngine< T >::run(), and line::ssa::solver_ssa_nrm_space_analyzer().

◆ samples

template<class T>
std::size_t line::ssa::SsaNrmSpaceRun< T >::samples = 0

◆ seed

template<class T>
unsigned long line::ssa::SsaNrmSpaceRun< T >::seed = 0

Definition at line 283 of file solver_ssa_nrm_space.h.

Referenced by line::ssa::NrmSpaceEngine< T >::run().

◆ simulated_time

template<class T>
double line::ssa::SsaNrmSpaceRun< T >::simulated_time = 0.0

◆ space

template<class T>
std::vector<NrmSpaceState> line::ssa::SsaNrmSpaceRun< T >::space

outspace: the distinct states visited, in first-visit order.

Definition at line 265 of file solver_ssa_nrm_space.h.

Referenced by line::ssa::NrmSpaceEngine< T >::run(), and line::ssa::solver_ssa_nrm_space_analyzer().

◆ tran_rx

template<class T>
std::vector<std::size_t> line::ssa::SsaNrmSpaceRun< T >::tran_rx

kfires: which reaction fired.

Definition at line 280 of file solver_ssa_nrm_space.h.

Referenced by line::ssa::NrmSpaceEngine< T >::run().

◆ tran_time

template<class T>
std::vector<double> line::ssa::SsaNrmSpaceRun< T >::tran_time

t: the cumulative time at each firing.

Definition at line 278 of file solver_ssa_nrm_space.h.

Referenced by line::ssa::NrmSpaceEngine< T >::run().


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