3.1problem Solving Agent
3.1problem Solving Agent
3.1problem Solving Agent
AI
CH:03
Solving Problems by Searching
• Definition,
• State space representation,
• Problem as a state space search,
• Problem formulation,
• Well-defined problems
• Solving Problems by Searching,
• Performance evaluation of search strategies,
• Time Complexity, Space Complexity, Completeness,
Optimality
The reflex agents are known as the simplest agents because they
directly map states into actions.
Unfortunately, these agents fail to operate in an environment
where the mapping is too large to store and learn.
Goal-based agent, on the other hand, considers future actions
and the desired outcomes.
.”
Steps performed by Problem-solving agent
1. Goal Formulation:
• It is the first and simplest step in problem-
solving.
• It organizes the steps/sequence required to
formulate one goal out of multiple goals as well
as actions to achieve that goal.
• Goal formulation is based on the current
situation and the agent’s performance measure.
2. Problem Formulation:
tile.
● Initial State: We can start from any state as the initial state.
● Actions: Here, actions of the blank space is defined, i.e., either left,
right, up or down
● Transition Model: It returns the resulting state as per the given state
and actions.
● Goal test: It identifies whether we have reached the correct goal-state.
● Path cost: The path cost is the number of steps in the path where the
The start state is (0, 0) and the goal state is (2, n) for any value of n, as the problem
does not specify how many gallons need to be filled in the 3-gallon jug (0, 1, 2, 3). So
the problem has one initial state and many goal states. Some problems may have
many initial states and one or many goal states.
Some Real-world problems
39