From c2affb00ff404613f45b51cd97b50773982fde5f Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 11 Nov 2022 15:47:19 +0100 Subject: Minor changes --- simulations/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 simulations/README.md (limited to 'simulations/README.md') diff --git a/simulations/README.md b/simulations/README.md new file mode 100644 index 0000000..627c787 --- /dev/null +++ b/simulations/README.md @@ -0,0 +1,17 @@ +# Impact of loosely coupled data dissemination policies for resource challenged environements + +### Setup +- First you need [Boost](https://www.boost.org/) +- From the project root folder run `cd ./libs && ./setup.sh && cd -` +- And `make` +- If the project compiles successfully, you are ready to run the simulations! +### Paper's Simulations +- To run all the simulations presented in the paper simply run `./results/paper.sh` +this will create the file `results/results.csv` containing all the results. This will also create an +`inputs.json` that you can modify at your convenience +### Simulations +- The file `inputs.json` controls the inputs to the simulator. You should only care about this file +if you want custom simulations +- To run the simulation just run `make run` This will also generate a file called `platform.xml` corresponding to the simulated platform +- To generate a *csv* output from the simulation results you can use: + `make run 2>&1|./parser.awk` -- cgit v1.2.3