diff --git a/README.md b/README.md index 56edc3b5a..7722f31ee 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,5 @@ In [references](/references) there is a comprehensive list of references of the ## Source codes In [src](/src) are stored all the scripts developed during the project. The produced scripts work only if linked to the code developed in the following papers by Giovanni Iacca, Marco Crespi, Andrea Ferigo, Leonardo Lucio Custode: - [A Population-Based Approach for Multi-Agent Interpretable Reinforcement Learning](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4467882) -- [Quality Diversity Evolutionary Learning of Decision Trees](https://arxiv.org/abs/2208.12758) \ No newline at end of file +- [Quality Diversity Evolutionary Learning of Decision Trees](https://arxiv.org/abs/2208.12758) +It is possible to run the aforementioned code by following the instructions in the README.md file in the [src/base_scripts](/src/base_scripts/) folder. \ No newline at end of file diff --git a/src/base_scripts/README.md b/src/base_scripts/README.md new file mode 100644 index 000000000..86e93610f --- /dev/null +++ b/src/base_scripts/README.md @@ -0,0 +1,18 @@ +## Instructions +This instructions are for running the code developed by Leonardo Lucio Custode, Andrea Ferigo and Giovanni Iacca, which is the starting point of the main project. +First of all, it is necessary to install the required dependencies. +Then run: +1. `cd src/base_scripts` +2. `chmod +x scripts.sh` +3. `source scripts.sh` +It will appear the following message: +`Hello! Here you can set environment and run codes` +`Please enter an integer to select an option:` +`[1]. Activate environment` +`[2]. Deactivate environment` +`[3]. Run code dts4marl` +`[4]. Run code marldts` +`[5]. Exit` +4. activate virtual-env by pressing 1 +5. run `./scripts.sh` again +6. run code by pressing 3 or 4