Steepest Hill climbing/Best first search/A* Algorithm
Steepest Hill climbing differs from simple hill climbing by choosing the Best Successor rather than the first one.This indicates that it has elements of breadth first search algorithm The Algorithm in a simplified manner is here 1.Evaluate the initial State. 2.If it is goal state than Quit otherwise make Initial state as the current state and proceed. 3 Repeat set target to be the State that any Successor of the Current state can be better. 4.For (in a loop) Each operator that can be applied in the Current State Apply new operator to new state.if it is a goal state than Quit otherwise Compare with the Target state if better than set Current state to target state. Best First Search We had BFS and DFS in DFS solution can be found without Computing the nodes and in BFS is good because it does not get trapped in dead ends. But for Best first search it takes the benefit of both the steps (DFS ...