Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Artificial Intelligence 2. The following figure shows a Pac-Man game. The Pac-Man (open mouth) should move to the positions of monsters and eat them. The

Artificial Intelligence

image text in transcribed

2. The following figure shows a Pac-Man game. The Pac-Man (open mouth) should move to the positions of monsters and eat them. The black blocks in the figure is the areas where the Pac-Man can move, others not. Now you are required to program a shortest path from the current position of Pac-Man to the position of the monster in the right. ( Please use A* search method to solve this problem: 1) Design your Heuristic Function, and explain whether and why it is an admissible heuristic. [3 points] 2) According to your designed Heuristic Function, draw the search graph and label the value of heuristic function (h value), the value of evaluation function (f value), and the expansion order of nodes in the graph. [7 points] 2. The following figure shows a Pac-Man game. The Pac-Man (open mouth) should move to the positions of monsters and eat them. The black blocks in the figure is the areas where the Pac-Man can move, others not. Now you are required to program a shortest path from the current position of Pac-Man to the position of the monster in the right. ( Please use A* search method to solve this problem: 1) Design your Heuristic Function, and explain whether and why it is an admissible heuristic. [3 points] 2) According to your designed Heuristic Function, draw the search graph and label the value of heuristic function (h value), the value of evaluation function (f value), and the expansion order of nodes in the graph. [7 points]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

Compare the current team to the ideal team.

Answered: 1 week ago

Question

Are the rules readily available?

Answered: 1 week ago

Question

Have ground rules been established for the team?

Answered: 1 week ago