Skip to content

5upernova-heng/RLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RLM

Reinforcement Learning in Maze

EN | 中文

Introduction

Maze problem in this repository means agent no nothing about maze, expect:

  1. it's position
  2. maze is square and has a approachable end
  3. When agent touchs the wall or goes out bound, it dies and restart from start point.

This repo use some basic Reinforcement Learning Algorithms to solve this simple maze problem.

UML Class Diagram

img

Feature

RL Algorithms

  • Q Learning
  • SARSA
  • Value Iteration
  • Policy Iteration

It turns out that all these basic, no-neural-network-needed algorithms having almost same learning and decision making logic when we are doing optimization for each algorithm.

Maze Generator Algorithms

  • Kruskal Algorithm
  • Recursively Walk
  • DFS
  • Prim Algorithm
  • Recursively Divide

User Interface

  • Draw the maze
  • Select Button
  • Generate random
    • with custom size
  • Show iteration times
  • Show Solution
  • Stop Button

About

Reinforcement Learning in Maze

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages