mirror of
https://github.com/zhm-real/PathPlanning.git
synced 2026-08-29 16:40:46 +08:00
60 lines
2.5 KiB
Markdown
60 lines
2.5 KiB
Markdown
Directory Structure
|
|
------
|
|
.
|
|
└── Search-based Planning
|
|
├── bfs.py # breadth-first
|
|
├── dfs.py # depth-first
|
|
├── dijkstra.py # dijkstra
|
|
├── a_star.py # a*
|
|
├── queue.py # FIFO, FILO, Priority queues
|
|
├── env.py # environment: grid world, motions
|
|
└── plotting.py # animation
|
|
└── Stochastic Shortest Path
|
|
├── value_iteration.py # value iteration
|
|
├── policy_iteration.py # policy iteration
|
|
├── Q-value_iteration.py # Q-value iteration
|
|
└── Q-policy_iteration.py # Q-policy iteration
|
|
└── Model-free Control
|
|
├── Sarsa.py # SARSA : on-policy TD control
|
|
└── Q-learning.py # Q-learning : off-policy TD control
|
|
└── Sampling-based Planning
|
|
|
|
## Animations
|
|
### Dijkstra's & A*
|
|
* Blue: starting state
|
|
* Green: goal state
|
|
|
|
<div align=right>
|
|
<table>
|
|
<tr>
|
|
<td><img src="https://github.com/zhm-real/path-planning-algorithms/blob/master/Search-based%20Planning/gif/Dijkstra.gif" alt="dijkstra" width="400"/></a></td>
|
|
<td><img src="https://github.com/zhm-real/path-planning-algorithms/blob/master/Search-based%20Planning/gif/Astar.gif" alt="Astar" width="400"/></a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
### Value/Policy/Q-value/Q-policy Iteration
|
|
* Brown: losing states
|
|
<div align=right>
|
|
<table>
|
|
<tr>
|
|
<td><img src="https://github.com/zhm-real/path-planning-algorithms/blob/master/Stochastic%20Shortest%20Path/gif/VI.gif" alt="value iteration" width="400"/></a></td>
|
|
<td><img src="https://github.com/zhm-real/path-planning-algorithms/blob/master/Stochastic%20Shortest%20Path/gif/VI_E.gif" alt="value iteration" width="400"/></a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
### SARSA(on-policy) & Q-learning(off-policy)
|
|
* Brown: losing states
|
|
<div align=right>
|
|
<table>
|
|
<tr>
|
|
<td><img src="https://github.com/zhm-real/path-planning-algorithms/blob/master/Model-free%20Control/gif/SARSA.gif" alt="value iteration" width="400"/></a></td>
|
|
<td><img src="https://github.com/zhm-real/path-planning-algorithms/blob/master/Model-free%20Control/gif/Qlearning.gif" alt="value iteration" width="400"/></a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
## License
|
|
MIT License
|