FAM Unit2 Only IMP
FAM Unit2 Only IMP
PROBLEM SOLVING
SEARCH ALGORITHM IN AI
? Problem-solving agents:
? Solution
LOCAL SEARCH ALGORITHM
This is a type of optimization algorithm used
to find the best solution.
Start state = 1
One solution:
1. Suck,
2. 2. if(state=5) then [right,suck] ]
NON-DETERMINISM: ACTIONS THAT
FAIL
? Action failure is often a non-deterministic
outcome
– Creates a cycle in the search tree