fork
*edges) compartment_model.fork(
Define a forked transition: a set of edges that come from the same compartment but go to different compartments. It is assumed the edges will share a “base rate”– a common sub-expression among all edge rates – and that each edge in the fork is given a proportion on that base rate.
For example, consider two edges given rates:
delta * EXPOSED * rho
delta * EXPOSED * (1 - rho)
delta * EXPOSED
is the base rate and rho
describes the proportional split for each edge.
Parameters
edges: *EdgeDef = ()
-
All edges that participate in the fork, as a var-arg.
Returns
ForkDef
-
The fork definition.