pandemia.components.policy_maker_model.optimization_policy_maker_model
Default policy maker model, specifiying a predefined set of policy interventions
Module Contents
Classes
Default model of a policy maker, specifiying a predefined set of policy interventions. The numbers |
Attributes
- pandemia.components.policy_maker_model.optimization_policy_maker_model.log
- class pandemia.components.policy_maker_model.optimization_policy_maker_model.OptimizationPolicyMakerModel(config, scale_factor, clock, number_of_regions, number_of_vaccines, age_groups)
Bases:
pandemia.components.policy_maker_model.PolicyMakerModelDefault model of a policy maker, specifiying a predefined set of policy interventions. The numbers appearing in the arrays below are for test purposes. To represents a new policy intervention, for example a historical set of interventions, the numbers in these arrays should be changed accordingly.
- new_policy(policy)
Set new policy
- vectorize_component(vector_region)
Initializes numpy arrays associated to this component
- initial_conditions(vector_region)
Initial policy
- dynamics(vector_region, day)
Changes to policy