Question: Consider the search tree given below. The letter next to a node is the name of the (state represented by that) node. The number in

Consider the search tree given below. The letter next to a node is the name of the (state represented by that) node. The number in each node n is the heuristic estimate, h(n), of the cost of getting from n to the least-cost goal. The number on each edge (n1, n2) is the step cost of going from state n1 to state n2. The actual cost of going from a node n1 to a node n2 along a connecting path p is the sum of the step costs along p. The initial node is A. Goal nodes are represented by double circles.

1. Using the general tree-search algorithm in Figure 3.7 of the textbook, perform a search of the tree according to each of the following search strategies.

(a) Breadth-first

(b) Uniform cost

(c) Greedy best-first

(d) A*

(e) Hill-climbing (For this tree, smaller values are better)

(f) Local beam search with number of nodes k = 2 and initial nodes A and H (Again, smaller values are better)

Treat the frontier as a priority queue ordered by an appropriate evaluation function. For each strategy:

Specify what evaluation function and additional restrictions on the queue are needed for the general algorithm in Figure 3.7 to implement that strategy.

Consider the search tree given below. The letter next to a nodeis the name of the (state represented by that) node. The number

B 2 3/ 13 1/ 13 G 1 H. 3 2/ V2 O 3D 1/ 12 I 7 1 J B 2 3/ 13 1/ 13 G 1 H. 3 2/ V2 O 3D 1/ 12 I 7 1 J

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!