Question: Question 4 For the 9 - tile scoring problem, assume that you start from this initial state 7 2 4 5 6 # 8 3
Question
For the tile scoring problem, assume that you start from this initial state
#
Final state
#
The cost of moving any tile is
Let the heuristic function hn number of misplaced tiles.
For the shown configuration, there are four options for the next move:
Move to the right
Move to the left
Move down
Move up
Each of these moves has a value fn hn gn
If we choose to Move to the right, then
gn That is it took us one step to reach this state from the initial state.
hn number of misplaced tiles. The misplaced tiles are So the number of misplaced tiles hn
If we choose to Move to the left, gn is still but hn will change because the number of misplaced tiles is different.
A works by computing fn hn gn for each of these possible moves. Then it chooses the move with the lowest fn
Apply A to generate states starting at the initial state above. That is show the next three moves that will be chosen by A Show your calculations to compute gn hn and fn for all the possible moves states
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
