Solving Problems by Searching: Universidad Cooperativa de Colombia
Solving Problems by Searching: Universidad Cooperativa de Colombia
by Searching
Reference:
1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach. Chapter 3
Schedule
• Uninformed Search
– Breadth-first search
– Uniform-cost search
– Depth-first search
– Depth-limit search
– Iterative deepening search
– Bidirectional search
Uninformed Search
• Also called blinded search
• No knowledge about whether one non-goal state is
“more promising” than another
For the same level/depth, nodes are expanded in a left-to-right manner. AI - Berlin Chen 28
Breadth-First Search (cont.)
• Impractical for most cases
• Can be implemented with beam pruning
– Completeness and Optimality will not be held
• Implementation
– Fringe is a queue ordered by path cost
9
Depth-First Search (cont.)
Up Left
repeated states
Down Up Left
11
Down Left
Write Python code for
8-Puzzle