metawards.iterators.advance_additional

metawards.iterators.advance_additional(network: Union[metawards._network.Network, metawards._networks.Networks], population: metawards._population.Population, infections: metawards._infections.Infections, profiler: metawards.utils._profiler.Profiler, rngs, **kwargs)[source]

Advance the infection by infecting additional wards based on a pre-determined pattern based on the additional seeds

Parameters:
  • network (Network or Networks) – The network being modelled
  • population (Population) – The population experiencing the outbreak - also contains the day of the outbreak
  • infections (Infections) – Space to hold the infections
  • rngs – The list of thread-safe random number generators, one per thread
  • profiler (Profiler) – Used to profile this function
  • kwargs – Arguments that aren’t used by this advancer