Generate the Pre (|v| by |u|) matrix for the SPN. This gives the edges from P to T (input arcs) in the bipartite network.
spn_Pre(spn_P, spn_T)
a matrix of type dgCMatrix-class
set of places (P) (see details)
set of transitions (T) (see details)
The places (spn_P
) object is generated from one of the following:
spn_P_lifecycle_node
, spn_P_lifecycle_network
,
spn_P_epiSIS_node
, spn_P_epiSIS_network
,
spn_P_epiSEIR_node
, or spn_P_epiSEIR_network
.
The set of transitions (spn_T
) is generated from one of the following:
spn_T_lifecycle_node
, spn_T_lifecycle_network
,
spn_T_epiSIS_node
, spn_T_epiSIS_network
,
spn_T_epiSEIR_node
, spn_T_epiSEIR_network
.