MultiStrataRUMEBuilder

rume.MultiStrataRUMEBuilder()

Declare a multi-strata RUME by combining GPMs, one for each strata.

Attributes

meta_requirements: Sequence[AttributeDef]

A set of additional requirements which are needed by the meta-edges in our combined compartment model.

strata: Sequence[GPM]

The strata that are part of this RUME.

Methods

Name Description
meta_edges When implementing a MultiStrataRumeBuilder, override this method to build the meta-transition-edges – the edges which represent cross-strata interactions. You are given a reference to this model’s symbols library so you can build expressions for the transition rates.
build Complete the RUME definition and construct an instance.