- Install program (macOS, Linux)
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -e .
- Install program (Windows)
$ python -m venv .venv
$ .venv\Scripts\activate
$ pip install -e .
- Run the training
$ pursuit -o=tmp/best-001.ind -c=0.9 -m=0.1 --seed=123
- Generate trace of predator-prey movements
$ execute -i=tmp/best-001.ind -o=tmp/trace-001.json
- Visualize trace
$ viz -i=tmp/trace-001.json --mapfile=examples/spredatorafe.txt
- F.-A. Fortin, F.-M. De Rainville, M.-A. Gardner, M. Parizeau, and C. Gagné, “DEAP: Evolutionary algorithms made easy,” Journal of Machine Learning Research, vol. 13, pp. 2171–2175, jul 2012. https://deap.readthedocs.io/en/master/