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
Cita come
samil (2025). Crime - punishment simulator (https://it.mathworks.com/matlabcentral/fileexchange/34717-crime-punishment-simulator), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Verification, Validation, and Test > Simulink Design Verifier > Generate Tests > Achieve Missing Coverage >
 
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |