In this project, we simulated the interactive maze environment in the MATLAB real-time editor environment, and implemented two classical Rl (reinforcement learning) algorithms - Q-learning and sarsa algorithm. By creating an agent to move interactively in the maze, two algorithms are used to train the highest incentive value reward and the best maze walking method. Finally, we compare the performance of the two algorithms.
chun chi (2022). Maze Solver——Q-Learning and SARSA algorithm (https://www.mathworks.com/matlabcentral/fileexchange/81643-maze-solver-q-learning-and-sarsa-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!