Maze Solver——Q-Learning and SARSA algorithm

version 1.0.0 (395 KB) by chun chi
In this project, we simulate two agent by Q-Learning and SARSA algorithm and put them in interactive maze environment to train best strategy


Updated 23 Oct 2020

View License

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.

Cite As

chun chi (2022). Maze Solver——Q-Learning and SARSA algorithm (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!