Closed tedkyi closed 2 years ago
Second commit has the new vaccination code:
Third commit has reinfections that work similar to vaccinations, as a multiplicative float:
Ted, I think simulation.py:181 (recovered resistance) is redundant with line 128. I will merge and we can clean up on main branch.
@rstager, thanks for reviewing. The way the VariantParameters
class works is that it defines default values. Initially all variants have the same values. The stuff near line 128 is where SimulationParameters.__init__()
overrides these defaults and sets different values for certain parameters for certain variants. So yes, it does set the same parameters, but it's on purpose as an example how to have different values for different variants.
Quick commit that makes two small changes Roger and I discussed:
tick()
random.choices()