Unit1 PAI
Unit1 PAI
Problem Solving
To build a system to solve a particular problem, we need to do 4 things:
Define the problem precisely as state space search
Analyze the problem
Isolate and represent the task knowledge that is necessary to solve the
problem.
Choose the best problem-solving technique(s) and apply them to the particular
problem
Drawbacks
1. Local Maxima
2. Plateau
3. Ridge
Solution: Steepest-Ascent Hill Climbing is an enhanced version of
simple hill climbing. Instead of moving to the first neighboring node that
improves the state, it evaluates all neighbors and moves to the one
offering the highest improvement (steepest ascent).
ADVANTAGES
Simplicity: Easy to understand and implement
Memory efficiency: Maintains only the current state's data
Rapid convergence
Low computational power
A* Algorithm
Informed search Technique
Optimal Solution
F(n)= g(n)+h(n)
g(N) is cost of initial state to node N, h(n) is estimated cost
of N to goal state
Time complexity= o(b^d)
AO* Algorithm
The AO* algorithm is an advanced search algorithm utilized in artificial
intelligence, particularly in problem-solving and decision-making contexts.
Works on AND-OR graph
Works on problem decomposition
Informed search
Best first search
May or may not find optimal solution
It does not explore further paths once it get a
solution
Means End Analysis
Problem Reduction