Cognitive Modelling of Biological Agents
- Run the file
maze_generator.py
- Set the desired maze size in rows and columns
- Set the agent's starting location. Re-clicking the agent will change the direction that the agent is facing in.
- Set the target
- Add more walls if necessary.
- (Advanced) Add rewards and dangers.
- Export the maze
Exported maze legend:
W = Wall
S = Start
T = Target
D = Danger
R = Reward
0 = Open space
- In the main function,
- Modify
maze_file = "demo_maze.txt"
to read your own maze. - Use cognitive modelling techniques to come up with an action sequence of your own and modify this line of code:
agent_action_sequence = demo_actions_set_1
- Modify
- Run
maze_env.py