Software Open Access
Sam Bessey; Mary McGrath; Maximilian King; Carolyn Park
Version 3 of TITAN refactors agent death and replacement into model exit and entrance, allowing for more flexible use of agents departing and entering during a model run.
Breaking changesdie_and_replace
to exit_enter
exit
to define agent exit strategiesenter
to define agent entry strategiesexit_enter
params to pair exit and enter classesdemographics
have changed to account for multiple model exit possibilities
## Migration notes
For existing parameters that use die_and_replace
, the defaults for the new exit
, enter
, and exit_enter
are intended to mimic the behavior of the former die_and_replace
(using get_death_rate
and 100% replacement). Users should, however, ensure that this is the intended behavior for their project. More importantly, the demographics
parameters must be updated to reflect the new paradigm.
## New featuresget_death_rate
. All others use strictly demographic-based probabilitiespoisson
function has been moved from .utils
to .distributions
so that it can be used for distributions in paramspoisson
also allows negative values (returning 0) to enable use of negative numbers when timeline scaling to enforce a zero valueName | Size | |
---|---|---|
pph-collective/TITAN-v3.0.0.zip
md5:d49b223bf1b27815ea5c35bc752fdecc |
206.4 kB | Download |
All versions | This version | |
---|---|---|
Views | 327 | 32 |
Downloads | 10 | 1 |
Data volume | 1.7 MB | 206.4 kB |
Unique views | 289 | 29 |
Unique downloads | 10 | 1 |