Learn R Programming

SimInf (version 5.0.0)

SimInf_mparse-class: Class "SimInf_mparse"

Description

Class to handle the SimInf mparse data

Arguments

Slots

latex

Character vector with the model LaTeX code.

C_code

Character vector with the model C code.

G

Dependency graph that indicates the transition rates that need to be updated after a given state transition has occured. A non-zero entry in element G[i, i] indicates that transition rate i needs to be recalculated if the state transition j occurs. Sparse matrix (\(Nt \times Nt\)) of object class "'>dgCMatrix", where \(Nt\) is the number of transitions.

S

Each column corresponds to a state transition, and execution of state transition j amounts to adding the S[, j] column to the state vector u[, i] of node i where the transition occurred. Sparse matrix (\(Nc \times Nt\)) of object class "'>dgCMatrix", where \(Nc\) is the number of transitions and \(Nt\) is the number of transitions.