Running the simple maze navigation experiment

Having implemented the maze-solver simulator, as well as the experiment runner and fitness evaluation callbacks, we are ready to start a maze-solving experiment. Make sure you copy all the related Python scripts and configuration files (maze_config.ini and medium_maze.txt) into the working directory.

After that, enter this directory and execute the following command from your terminal application of choice:

$ python -m medium -g 150
Do not forget to activate the appropriate virtual environment with the following command: conda activate maze_objective_neat

The preceding command loads the simple maze configuration from the medium_maze.txt file and creates the appropriate maze ...

Get Hands-On Neuroevolution with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.