Closed chryswoods closed 4 years ago
feature_holidays feature branch has now been created. I am going to work on this over the next couple of days. This should be the last feature before the 1.4 release :-)
Merged in all of the code changes needed for feature_holidays into devel. This is because I'm switching over to feature_vaccinate to add that to the tutorial. Will come back and finish the tutorial for feature_holiday tomorrow.
(so go_ward now implements the required functionality, and MoveGenerator generates flexible moves that can be reversed via go_record and MoveRecord. Added a per-ward bg_foi to drive infections in holiday destinations separately to the number of infected individuals)
What is the feature you are working on? Need a custom mover that can move individuals to different wards, different states (player or worker) and different links (work at different link). This is so individuals can change their behaviour during a model run, e.g. go on holiday to another ward. To do this, I need a go_function that can specify ward / state / link, and can remember where the individual came from, and then return them after a set period.
What is the use case for this feature? Modelling holidays or changes in behaviour (e.g. possibly better modelling of weekends)
Core code or plugin? Should all be doable as a go_function plugin
Describe alternatives you've considered This is now much easier as we use a single merged network for all demographics (even if different networks are originally loaded)
Additional information Aim was originally for 1.3, but now this is being pushed back to 1.4 (hence documenting this now). Feature branch has not yet been created.