metawards.iterators.advance_play_omp¶
-
metawards.iterators.
advance_play_omp
(network: Network, play_infections, rngs, nthreads: int, profiler: Profiler, **kwargs)¶ Advance the model by triggering infections related to random ‘play’ movements (parallel version of the function)
Parameters: - network (Network) – The network being modelled
- play_infections – The space that holds all of the “play” 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