Question: Implement A* search algorithm. Upload your source code and the final grid image with the shorted path in this project report. The following figure contains

 Implement A* search algorithm. Upload your source code and the final

Implement A* search algorithm. Upload your source code and the final grid image with the shorted path in this project report.

The following figure contains a robot, a door, and six chairs, each of them takes one grid. The figure also contains 10 by 10 = 100 grids. The robot need to avoid six chairs and find out a shortest path to the door. For each step of the A* search, the robot can only move to one neighbor grid of 8 neighbors (east, southeast, south, southwest, west, northwest, north, and northeast).

You can reference A* search algorithm: http://theory.stanford.edu/~amitp/GameProgramming/AStarComparison.html

For reference code of programming languages of C++, Java, Javascript, Python, Objective C +, Lua, Ruby, C#, and Processing, you can reference the webpage:

http://theory.stanford.edu/~amitp/GameProgramming/ImplementationNotes.html#code

(Hint: can use a 10 x 10 matrix for modeling the 10 x 10 grids. Each element in the matrix is relevant to a grid in the picture. After the A* search, visualize this matrix to show the shortest path.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!