Files
PathPlanning/README.md
T

50 lines
2.1 KiB
Markdown
Raw Normal View History

2020-06-19 19:00:08 -07:00
Directory Structure
------
.
└── Search-based Planning
2020-06-19 19:05:57 -07:00
├── bfs.py # breadth-first
├── dfs.py # depth-first
├── dijkstra.py # dijkstra's
├── a_star.py # a*
├── queue.py # FIFO, FILO, Priority queues
2020-06-20 13:45:22 -07:00
├── env.py # environment: grid world, motions
└── plotting.py # animation
2020-06-19 19:00:08 -07:00
└── Stochastic Shortest Path
2020-06-19 19:05:57 -07:00
├── value_iteration.py # value iteration
├── policy_iteration.py # policy iteration
├── Q-value_iteration.py # Q-value iteration
└── Q-policy_iteration.py # Q-policy iteration
2020-06-19 23:38:30 -07:00
└── Model-free Control
2020-06-19 19:05:57 -07:00
├── Sarsa.py # SARSA : on-policy TD control
└── Q-learning.py # Q-learning : off-policy TD control
2020-06-19 23:38:30 -07:00
└── Sampling-based Planning
2020-06-20 00:10:50 -07:00
2020-06-20 13:36:11 -07:00
## Animations
### Dijkstra's & A*
2020-06-20 14:03:32 -07:00
* Blue: starting state
* Green: goal state
2020-06-20 13:43:09 -07:00
<div align=right>
2020-06-20 13:36:11 -07:00
<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>
2020-06-20 14:03:32 -07:00
### 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.jpeg" alt="value iteration" width="400"/></a></td>
</tr>
</table>
</div>
2020-06-20 00:10:50 -07:00
## License
MIT License