Generates a timer function that returns
True at one or several specified periods.
n — int|list, required
The period(s) at which the timer function should return
Return Value — func(int)
A timer function that takes the model time and returns a boolean.
Notes and Examples
charwickMar 24, 2020 at 3:47
This code registers a shock that reduces the population of human-primitive agents by half in period 2018.