You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of def step() in simulator.py, we'll run the events logic. Based on the current date, go through each event and call findVisitors. Then run transmission logic in Python and upload the new disease statuses to OpenCL.
So one decision: how do we draw visitors for the event? We can't just use the snapshot / OpenCL state, because we've lost household membership and other state by then. It also ties things to ASPICS too closely. So I think now ASPICS needs to read the snapshot file, the original protobuf file, and this optional events file. When we draw visitors, we also have to filter by ASPICS current state (dead or symptomatic people don't go to events).
At the end of
def step()
insimulator.py
, we'll run the events logic. Based on the current date, go through each event and callfindVisitors
. Then run transmission logic in Python and upload the new disease statuses to OpenCL.So one decision: how do we draw visitors for the event? We can't just use the snapshot / OpenCL state, because we've lost household membership and other state by then. It also ties things to ASPICS too closely. So I think now ASPICS needs to read the snapshot file, the original protobuf file, and this optional events file. When we draw visitors, we also have to filter by ASPICS current state (dead or symptomatic people don't go to events).
Need to filter events by the study area boundary.
Code from @HSalat attached
eventsHandler.py.txt
The text was updated successfully, but these errors were encountered: