-
Download the source as zip file or fork this repository.
-
Download Repast Simphony version 2.8 and follow the Quick Start Guide import this project.
-
Install JEP version 3.9.1 or run
pip install jep==3.9.1
We use JEP, which implements the JNI, to connect java and python. Therefore this project is not platform portability so you need to reconfigure the following paths:
-
Find where jep is installed,
pip show jep
and copy the path/Users/.../lib/python3.7/site-packages/jep
to EclipseReferenced Libraries -> jep-3.7.0.jar-> Properties -> Native librairy location
In case of e.g. path error or UnsatisfiedLink error you can find help from JEP. -
Change the absolute paths in
TransmissionModel.java
ProgerssionModel.java
to where you have Eclipse installed on your computer. Note: in total 4 paths need to be modified.
- Before starting a new simulation make sure you've deleted the old database(test.db) under
./misc