This directory contains all code necessary to build and reproduced our experiments.
This folder contains the RBL-Framework code as found in https://github.com/martinzimmermann/RBL-Framework/releases/tag/CPS-RTSA.
This folder contains the original gym-maze library's Python code (https://github.com/MattChanTK/gym-maze) with the changes to enable the simulation of the grid world warehouses.
This folder contains the code directly related to our experiments.
- docker
In the folder run the docker build command, e.g. docker build -t rbl-test:latest .
.
This will build everything from source into a docker image.
WARNING: Executing all experiments may take a while, depending on your computer it can take more than two weeks to complete all.
After the build run the docker run command and bind the /root/Experiments/Java/Results
folder of the docker container to a local folder to see the output. For example if your current folder is C:\Users\user123\Documents\RBL-Test
execute docker run -v "C:\Users\user123\Documents\RBL-Test\Results:/root/Experiments/Java/Results" rbl-test:latest
. The results of the experiments will then be in the Results
folder on your local machine.
- open-jdk-11
- python 3.6
- pip
- gradle 6.3
- Change directory into the
RBL-Framework
folder - Execute
gradle build
- Replace the resulting lib
/RBL-Framework/build/libs/rbl-0.5.1.jar
from the experiment lib folder/Experiments/Java/lib/
WARNING: This step will install the python library into your global python installation. If you don't want this, we recommend using an anaconda environment.
- Change directory into the
gym-maze
folder - execute
pip install -e .
- Open the file
Experiments\Java\src\main\java\simulation\Simulation.java
. - In line
46
change thePYTHONEXECUTABLE
variable to point to your python executable. If you used anaconda make sure that the variable points to the python executable of the environment in which you installed gym-maze. - Change directory into
Experiments\Java
. - Execute
gradle build
WARNING: Executing all experiments may take a while, depending on your computer it can take more than two weeks to complete all.
- Change directory into
Experiments\Java
. - Execute
gradle run
The results are written to the folder Experiments\Java\Results