Currently, we make a bulk calculation of the criminal tendency and other stats once per year:
|
if (self.tick % self.ticks_per_year) == 0 or self.tick == 1: |
|
self.calculate_criminal_tendency() |
|
self.calculate_crime_multiplier() # we should update it, if population change |
We could do it every year. However, this would better be delayed until we come out clean with the Netlogo comparison.