SQUARE MAZE SOLVED USING Q-LEARNING & EPSILON-GREEDY POLICY
Version 2.0.0 (1020 KB) by
Jonathan Sanz Carcelén
Solving a randomly generated square maze using a Q-Learning algorithm involving an epsilon-greedy policy.
The aim of this code is solving a randomly generated square maze (dimension n) using a Q-Learning algorithm involving an epsilon-greedy policy.
A report has been done so as to help the user to better understand the code and the theory behind Q-Learning.
The user can choose the starting and ending points of the maze and its dimension n.
Cite As
Jonathan Sanz Carcelén (2026). SQUARE MAZE SOLVED USING Q-LEARNING & EPSILON-GREEDY POLICY (https://nl.mathworks.com/matlabcentral/fileexchange/80146-square-maze-solved-using-q-learning-epsilon-greedy-policy), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.