Artificial Intelligence Chapter 3: Solving Problems by Searching
Artificial Intelligence Chapter 3: Solving Problems by Searching
Environment
How the world evolves
What my actions do
What it will be like
if I do action A
What action I
Goals Actuators
should do now Actions
The agent carries out its plans with its eyes closed
Certain of whats going on
Open loop system
Goal state:
One of the buckets has two gallons of water in it
Represented by either ( x 2 ) or ( 2 x )
Path cost:
1 per unit step
(4,0) (0,3)
(1,0) (0,1)
(3,3) (4,2)
(4,1)
(2,3)
(2,0) (0,2)
Breadth-first search
Uniform-cost search
Depth-first search
Depth-limited search
Iterative deepening search
Exponential-complexity search
problems cannot be solved by
uniformed methods for any but the
smallest instances