Connector#
- class Connector(name=None, label=None, **kwargs)[source]#
Bases:
ModuleBase class for Connectors, which mediate interactions between disease (or other) modules
Because connectors can do anything, they have no specified structure: it is up to the user to define how they behave.
Attributes
nowShortcut to self.t.now()
statesReturn a flat list of all states
statesdictReturn a flat dictionary (objdict) of all states
tiGet the current module timestep
timevecShortcut to self.t.timevec
Methods