Introduction to Artificial Intelligence
By:
Dr. Mohammad Shoab
Week 3
Problem Solving Agents
2
Introduction to Artificial Intelligence
Department of Computer Science
Goal Based Agent
3
Goal Based Agent
Environment
Percepts
Actions
What the world
is like now
Sensors
Actuators
What action I
should do now
Goals
State
How the world evolves
What my actions do
What it will be like
if I do action A
Introduction to Artificial Intelligence
Department of Computer Science
Goal Based Agents
4
Introduction to Artificial Intelligence
Department of Computer Science
Well Defined Problems and Solutions
5
Introduction to Artificial Intelligence
Department of Computer Science
Example: Water Pouring
6
Introduction to Artificial Intelligence
Department of Computer Science
Example: Water Pouring
7
Introduction to Artificial Intelligence
Department of Computer Science
8
Introduction to Artificial Intelligence
Department of Computer Science
Example: Eight Puzzle
9
1 | 2 | 3 |
| 4 | 6 |
7 | 5 | 8 |
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | |
Introduction to Artificial Intelligence
Department of Computer Science
Example: Eight Puzzle
10
Introduction to Artificial Intelligence
Department of Computer Science
Other Toy Examples
11
Introduction to Artificial Intelligence
Department of Computer Science
Example: Map Planning
12
Introduction to Artificial Intelligence
Department of Computer Science
Searching For Solutions
13
Introduction to Artificial Intelligence
Department of Computer Science
Searching For Solutions
14
Introduction to Artificial Intelligence
Department of Computer Science
Searching For Solutions
15
Introduction to Artificial Intelligence
Department of Computer Science
Searching For Solutions
16
Introduction to Artificial Intelligence
Department of Computer Science
Searching For Solutions
17
Introduction to Artificial Intelligence
Department of Computer Science
Searching For Solutions
18
Introduction to Artificial Intelligence
Department of Computer Science
Uninformed Search Strategies
19
Introduction to Artificial Intelligence
Department of Computer Science
Comparing Uninformed Search Strategies
20
Introduction to Artificial Intelligence
Department of Computer Science
Comparing Uninformed Search Strategies
21
Introduction to Artificial Intelligence
Department of Computer Science
Breadth-First Search
22
Introduction to Artificial Intelligence
Department of Computer Science
Breadth-First Search
23
Introduction to Artificial Intelligence
Department of Computer Science
Breadth-First Search
24
Introduction to Artificial Intelligence
Department of Computer Science
Breadth-First Search
25
Introduction to Artificial Intelligence
Department of Computer Science
Breadth-First Search
26
Introduction to Artificial Intelligence
Department of Computer Science
Properties of Breadth-First Search
27
Introduction to Artificial Intelligence
Department of Computer Science
Lessons From Breadth First Search
28
Introduction to Artificial Intelligence
Department of Computer Science
Uniform-Cost Search
29
Introduction to Artificial Intelligence
Department of Computer Science
Uniform-Cost Search
30
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
31
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
32
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
33
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
34
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
35
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
36
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
37
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
38
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
39
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
40
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
41
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
42
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
43
Introduction to Artificial Intelligence
Department of Computer Science
Depth-First Search
44
Introduction to Artificial Intelligence
Department of Computer Science
Depth-Limited Search
45
Introduction to Artificial Intelligence
Department of Computer Science
Depth-Limited Search
46
Introduction to Artificial Intelligence
Department of Computer Science
Depth-Limited Search
47
Introduction to Artificial Intelligence
Department of Computer Science
Iterative Deepening Search
48
Introduction to Artificial Intelligence
Department of Computer Science
Iterative Deepening Search
49
Introduction to Artificial Intelligence
Department of Computer Science
Iterative Deepening Search
50
Introduction to Artificial Intelligence
Department of Computer Science
Iterative Deepening Search
51
Introduction to Artificial Intelligence
Department of Computer Science
Iterative Deepening Search
52
Introduction to Artificial Intelligence
Department of Computer Science
Iterative Deepening Search
53
Introduction to Artificial Intelligence
Department of Computer Science
Iterative Deepening Search
54
Introduction to Artificial Intelligence
Department of Computer Science
Lessons From Iterative Deepening Search
55
Introduction to Artificial Intelligence
Department of Computer Science
Avoiding Repeated States
56
Introduction to Artificial Intelligence
Department of Computer Science
Avoiding Repeated States
57
State Space
Search Tree
Introduction to Artificial Intelligence
Department of Computer Science
Avoiding Repeated States
58
Introduction to Artificial Intelligence
Department of Computer Science
The End
59
Introduction to Artificial Intelligence
Department of Computer Science
Exercise
Q1. Explain problem solving agents.
Q2. What is goal based agent?
Q3. Explain uninformed search strategies with it’s algorithms.
Q4. What is Breadth First search?
Q5. What is depth first search?
Q6. How can we avoid repeated states.
60
Introduction to Artificial Intelligence
Department of Computer Science
Q7. Problem solving agent is a kind of
Q8. Which is a physical configuration?
61
Introduction to Artificial Intelligence
Department of Computer Science
Q9. Which is a data structure constituting part of a search tree?
Q10. Which is also known as blind search?
62
Introduction to Artificial Intelligence
Department of Computer Science