Model |
|
---|---|
Run a single instance of the branching process model |
|
Set up initial cases for branching process |
|
Move forward one generation in the branching process |
|
Helper functions |
|
Probability distribution manipulation |
|
Samples the generation time for given incubation period samples |
|
Loop wrappers for scenario modelling |
|
Run a specified number of simulations with identical parameters |
|
Model parameters and control options |
|
Create a list of delay distributions to run the ringbp model |
|
Create a list of event probabilities to run the ringbp model |
|
Create a list of intervention settings to run the ringbp model |
|
Create a list of offspring distributions to run the ringbp model |
|
Create a list of simulation control options for the ringbp model |
|
Post-processing |
|
Calculate whether outbreaks went extinct or not |
|
Calculate proportion of runs that have controlled outbreak |