Chapter 3 (Part 1) - Solving Problems by Searching
Chapter 3 (Part 1) - Solving Problems by Searching
ARTIFICIAL INTELLIGENCE
Problem-Solving Agents
Example Problems
Searching for Solutions
Uninformed Search Strategies
Avoiding Repeated States
States
8 states
Initial state
Any state
Actions
Left, Right, Vacuum, noop
Goal test
Whether both squares are clean
Path cost
Each step costs 1
States:- A state description specifies the location of each of the eight tiles and the
blank in one of the nine squares
Initial state: – start sate
Actions: Blank moves left, right, up, or down.
Transition model: Given a state and action, this returns the resulting state; for
example, if we apply Left to the start state in Figure 3.4 (from book), the resulting
state has the 5 and the blank switched.
Goal test: – Checks whether the states matches the goal configured in the goal state
shown in the picture (other goal configurations are possible)
Path cost: – Each step costs 1, so the path cost is the sum of steps in the path
Touring Problem
Travelling sales problem
Robot navigation
Internet searching
What is :
Touring problem
Travelling sales person problem
VLSI layout
Robot navigation
Protein Design