Professional Documents
Culture Documents
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 what’s 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
January 26, 2003 AI: Chapter 3: Solving Problems 24
by Searching
Comparing Uninformed Search
Strategies
• Completeness
– Will a solution always be found if one exists?
• Time
– How long does it take to find the solution?
– Often represented as the number of nodes searched
• Space
– How much memory is needed to perform the search?
– Often represented as the maximum number of nodes stored at
once
• Optimal
– Will the optimal (least cost) solution be found?