ForkDef

compartment_model.ForkDef(self, rate, edges, probs)

Defines a fork-style transition in a compartment model.

Attributes

edges: list[EdgeDef]

The edges that participate in the fork.

probs: list[Expr]

The probability of each edge in the fork.

rate: Expr

The shared base-rate of the fork.