Crime - punishment simulator
Simulate the crime-punishment model in "When Brute Force Fails: How to Have Less Crime and Less Punishment", Mark A. R. Kleiman, pp.58-67:
"Every week some clients [probationers] violate the rule. The probation officer must then decide which one of those violators to punish, but can not punish more than...eight of them...
Let each probationer start with some initial probability of violating on any given day, varying randomly among probationers. The probability rises every time a probationer gets away with a violation and falls every time the probationer is sanctioned for a violation."
This simulation can be used to test different strategies (e.g. dynamic concentration) to combat violations.
Prepared with Matlab R2010b
Citar como
samil (2024). Crime - punishment simulator (https://www.mathworks.com/matlabcentral/fileexchange/34717-crime-punishment-simulator), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Verification, Validation, and Test > Simulink Design Verifier > Generate Tests > Test Case Extension >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |