Basics
For this assignment, we implemented a basic pathfinding algorithm, A*. In it we have two heurstic cost estimate functions that are available to use. Manhattan Distance and Euclidean Distance. The two testcases used are very simple, so it is a little difficult to see the difference between the two.
Assignment Breakdown
Part 1
Part 1 was the bulk of the assignment. We implemented A*, and the manhattan and euclidean distance heuristic cost functions here.
For part 2, we had to implement a tie-breaker for nodes with the same smallest f-value by determining based on the g-value. We used the (higher or lower) g-value.
For part 4, we had to implement an increase to the weight of the hueristic cost. Essentially, to create weighted A*. We considered the bigger g-value for setting the tie-breaker between f-values.