The environment for the maze simulation consists of three major components that are implemented as separate Python classes:
- Agent: The class that holds information related to the maze navigator agent that is used by simulation (see the agent.py file for the implementation details).
- AgentRecordStore: The class that manages the storage of records relating to evaluations of all the solver agents during the evolutionary process. The collected records can be used to analyze the evolutionary process after its completion (see the agent.py file for the implementation details).
- MazeEnvironment: The class that contains information about the maze simulation environment. This class also provides methods that manage the simulation environment, control the position of a solver agent, perform collision detection, and generate the input data for sensors of the agent...