metawards.iterators.advance_recovery

metawards.iterators.advance_recovery(nthreads: int, **kwargs)

Advance the model by processing recovery of individual through the different stages of the disease (parallel version of the function))

Parameters
  • network (Network or Networks) – The network being modelled

  • infections (Infections) – The space that holds all of the “work” infections

  • rngs – The list of thread-safe random number generators, one per thread

  • nthreads (int) – The number of threads over which to parallelise the calculation

  • profiler (Profiler) – The profiler used to profile this calculation

  • kwargs – Extra arguments that may be used by other advancers, but which are not used by advance_play