-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do_transmission_update now works more efficiently. First it calls rep…
…ort, which does the SEIRW census but also creates the node-to-susceptibles map since it makes no sense to do a second susceptible census. That map is now a static varible in the ctypes extension module and used in the tx_inner_loop, and that function is now shorter and simpler. The calculate_new_infections is still done in between but we don't recalculate the number of infections per node since we already have that.
- Loading branch information
Jonathan Bloedow
committed
Oct 7, 2024
1 parent
3e94b2d
commit 4166d9d
Showing
2 changed files
with
155 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters