-
compile the learning
cd self-adapting-simulator mkdir cmake-build-release cd cmake-build-release cmake .. -DCMAKE_BUILD_TYPE=Release make cd ..
-
compile ns2
cd ns2 source setenv.sh mkdir cmake-build-release cd cmake-build-release cmake .. -DCMAKE_BUILD_TYPE=Release make cd ..
-
prepare environment
cd self-adapting-simulator/ns2 source setenv.sh
The main script to run simulations is called run_codel.py which shows an extensive list of parameters if run with --help. Once the simulation has finished, the plots from the paper can be obtained by running plot_reward function from plotting.py. The raw data is available in testik.db sqlite3 database.