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
Citation pour cette source
samil (2024). Crime - punishment simulator (https://www.mathworks.com/matlabcentral/fileexchange/34717-crime-punishment-simulator), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Verification, Validation, and Test > Simulink Design Verifier > Generate Tests > Test Case Extension >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |