The program is made of 2 files.
- The first one,
player.py
, defines in a python object an individual in the population. - The second one,
evolution.py
is the main script and describes the evolutionnary algorithm.
To run the program, just need to run evolution.py
:
> python evolution.py
- numpy
- scipy
- matplotlib