Lecture 8
Lecture 8
APPROACH TO TYPICAL AI
PROBLEMS
⚫ Problem-solving agents
Rational agents or Problem-solving agents in AI mostly used
search strategies or algorithms to solve a specific problem and
provide the best result.
Problem- solving agents are the goal-based agents and use atomic
representation.
⚫ Problem Searching
Searching refers to as finding information one needs.
Searching is the most commonly used technique of problem solving
in artificial intelligence.
The searching algorithm helps us to search for solution of particular
problem.
Problem: Problems are the issues which comes across any system. A
solution is needed to solve that particular problem.
Key Pillars in Working Domain:
⚫ Goal formulation:
⚫ based on the current situation and the agent's performance
measure, is the first step in problem solving.
⚫ Problem formulation:
⚫ is the process of deciding what actions and states to
consider, given a goal.
Key Pillars in Working Domain:
⚫ Search:
⚫ This process of looking for possible sequence of actions
that lead to states of known value and then choosing the best
sequence is called search.
⚫ It forms a graph (or map) in which the nodes are states and the
arcs between nodes are actions.
⚫ An optimal solution:
⚫ has the lowest path cost among all solutions.
⚫ Path/Solution Cost:
⚫ function that assigns a numeric cost to each path, the cost of
applying the operators to the states
Terminologies Associated with
Solution:
⚫ The step cost:
⚫ of taking action a to go from state x to state y is denoted by c(x,
a, y).
⚫ Initial state:
⚫ configuration without queens on the board
⚫ Goal state:
⚫ configuration with n queens such that no queen attacks any
other
n-queens Problem:
⚫ Operators or actions: place a queen on the board