pandemia.components.policy_maker_model.random_policy_maker_model

Random policy model, specifiying a randomized set of policy interventions

Module Contents

Classes

RandomPolicyMakerModel

Randomly generated policy interventions, for test purposes.

Attributes

log

pandemia.components.policy_maker_model.random_policy_maker_model.log
class pandemia.components.policy_maker_model.random_policy_maker_model.RandomPolicyMakerModel(config, scale_factor, clock, number_of_regions, number_of_vaccines, age_groups)

Bases: pandemia.components.policy_maker_model.PolicyMakerModel

Randomly generated policy interventions, for test purposes.

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