This document discusses heuristic search techniques in artificial intelligence. It provides information about generate and test algorithms, hill climbing techniques, and the simple hill climbing algorithm. Key points covered include how heuristic search techniques can find reasonable solutions in reasonable time and are useful for solving complex problems, though they provide no guarantees of finding an optimal solution.
This document discusses heuristic search techniques in artificial intelligence. It provides information about generate and test algorithms, hill climbing techniques, and the simple hill climbing algorithm. Key points covered include how heuristic search techniques can find reasonable solutions in reasonable time and are useful for solving complex problems, though they provide no guarantees of finding an optimal solution.
This document discusses heuristic search techniques in artificial intelligence. It provides information about generate and test algorithms, hill climbing techniques, and the simple hill climbing algorithm. Key points covered include how heuristic search techniques can find reasonable solutions in reasonable time and are useful for solving complex problems, though they provide no guarantees of finding an optimal solution.
Roll No:18 Class: MSc-I (Comp.Sci) Sub: Artificial Intelligence 2
1. What is Heuristic Search Techniques ?
2. Generate and Test Algorithm 3. Hill Climbing • Simple Hill Climbing Algorithm 3
1. Guarantees to find reasonable solution in reasonable
time.
2. Useful for solving complex problems.
3. Also known as ‘weak methods’.
4
• Simplest of all techniques.
• Method where domain specific knowledge is provided.
• This is a DFS procedure with backtracking.
5
1. Generate a possible solution. For some problems, this
means generating a particular point in the problem space. For others, it means generating a path from start state.
2. Test to see if this is actually a solution by comparing
the chosen point or the endpoint of the chosen path to the set of acceptable goal states.
3. If a solution has been found quit. Otherwise, return to
step 1. 6
• Time Consuming. • Systematic procedure must be followed. 7
• Variant of generate and test.
• A test function with heuristic function f(n , g) is provided. • Key difference between generate and test and hill climbing. 8
1. Evaluate the initial state. If it is also a goal state, then
return and quit. Otherwise, continue with the initial state as the current state. 2. Loop until a solution is found or until there are no new operators left to be applied in the current state. (a) Select an operator that has not yet been applied to the current state and apply it to produce a new state. (b) Evaluate the new state. i. If it is a goal state, return it and quit. ii. If it is not a goal state and it is better than the current state, then make it the current state. iii. If it is not better than the current state, continue in the loop. 9