pandemia.components.policy_maker_model

Manages policy interventions in the model

Submodules

Package Contents

Classes

Component

A simulation component. Submodels, for example of movement and health, are represented as

PolicyMakerModel

Defines the policy maker in the model

class pandemia.components.policy_maker_model.Component(component_config: pandemia.config.Config)

A simulation component. Submodels, for example of movement and health, are represented as objects of this class.

set_telemetry_bus(telemetry_bus: Optional[pandemia.messagebus.MessageBus]) None

Sets telemetry bus for this component

report(topic, *args, **kwargs)

Publish a message to the telemetry bus, informing reporters of some interesting event or statistic.

class pandemia.components.policy_maker_model.PolicyMakerModel(config, scale_factor)

Bases: pandemia.component.Component

Defines the policy maker in the model

new_policy()

Set new policy