Created this Maze solver to learn how to implement a graph in C++ and implement path planning(BFS,DFS,A*,D*,etc)
- make
build
directory and enter it - run
cmake -G "Visual Studio Win64" ..
- compile with
cmake --build .
- Generate a maze using
gen.py
- Executable can be found in
build/Debug/
- Files aren't linking properly so implementation is included in headers
Edge
andNode
classes are co-dependent so they use forward declaration to solve compiler issues- The graph store the nodes. All access/modifications must use pointers and references to update the graph in place
- Edges store node pointers
- BFS: Traversal with early ending
- DFS: Traversal with early ending
- A*: In queue
- Dikjstra: In Queue
- D*: In Queue
- D* lite: In Queue