This project utilizes the A* framework to find the optimal path between two points. Two versions of A* are implemented with different cost functions as well as Dijkstra’s algorithm for comparing purposes.
A_.project.demo.mp4
- -w (int) - width of the map. Default 500.
- -l (int) - length of the map. Default 500.
- -seed (int) - seed to set for random terrain generation. Default none.
- -filename (string) - filename for .npy file to load for map
- -cost (string) - cost function. Values [‘exp’, ‘div’] accepted. Default ‘exp’.
- -AI (string) - Name of AIModule to use. Values [‘AStarExp’, ‘AStarDiv’, ‘Dijkstra’] accepted.
python3 Main.py -seed 0 -cost exp -AI AStarExp