Lecture05 Informed Search (Part 1)
Lecture05 Informed Search (Part 1)
Lecture05 Informed Search (Part 1)
FUNDAMENTALS
LECTURE 5 – SOLVING
PROBLEMS BY SEARCHING
(INFORMED SEARCHES)
PART 1
• Problems:
• How to achieve goal?
• Goal: get a solution, get the best solution
• How to maximise the utility/profit?
• Ideally, we want AI to know the knowledge and draw
conclusion
• Knowledge: a sequence of action that I took
• Conclusion: predict the result from the actions
• Uninformed search:
• Use only available information in the problem
• For e.g.:
• From City A to D: look only the available path from A to D
• Informed search:
• Use knowledge specific to a particular problem
• Interpret the problem and available information
• Involve reasoning
• For e.g.:
• From City A to D: getting the shortest path from A to D, is better than the longest path from A
to D; or find the path with least traffic jam
• 8-Puzzle
• path-cost = number of pieces moved
• minimum => least time to solve the puzzle
Best-First Search
* Greedy Search
* A* Search
Heuristic Functions
* Designing a Heuristic Function
• If the heuristic function, h(n), always underestimate the true cost (h(n)
is smaller than h*(n)), then A* is guaranteed to find an optimal
solution.