Question: 3.6 The GENERAL-SEARCH algorithm consists of three steps: goal test, generate, and ordering! function, in that order. It seems a shame to generate a node
3.6 The GENERAL-SEARCH algorithm consists of three steps: goal test, generate, and ordering!
function, in that order. It seems a shame to generate a node that is in fact a solution, but to fail to|
recognize it because the ordering function fails to place it first.
a. Write a version of GENERAL-SEARCH that tests each node as soon as it is generated and|
stops immediately if it has found a goal.
b. Show how the GENERAL-SEARCH algorithm can be used unchanged to do this by giving it|
the proper ordering function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
