Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculations about criminal tendency might better be done at each step #13

Open
mariopaolucci opened this issue Mar 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mariopaolucci
Copy link
Contributor

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.

@mariopaolucci mariopaolucci added the enhancement New feature or request label Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant