run_city_justice module¶
Crimninal justice network dynamics modeling.
- This example uses 7 modules:
Community
Arrested
Adjudication
Jail
Prison
Probation
Parole
and a population balance model is used to follow the offenders population groups between modules.
To run this case using MPI you should compute the number of processes as follows:
nprocs = 7 + 1 cortix
then issue the MPI run command as follows (replace nprocs with a number):
mpiexec -n nprocs run_justice.py
To run this case with the Python multiprocessing library, just run this file at the command line as
run_city_justice.py