21FE27 Artificial Intelligence - : III Year/V Semester IT Module-2
21FE27 Artificial Intelligence - : III Year/V Semester IT Module-2
21FE27 Artificial Intelligence - : III Year/V Semester IT Module-2
ARTIFICIAL INTELLIGENCE
- Be In Amman
2. Formulate Problem
- States : Cities
- actions : Drive Between Cities
3. Find Solution
• Formulate goal:
– be in Bucharest
• Formulate problem:
– states: various cities
– actions: drive between cities
• Find solution:
– sequence of cities, e.g., Arad, Sibiu, Fagaras, Bucharest
–
Example: Romania
Single-state problem formulation
A problem is defined by four items:
1. actions or successor function S(x) = set of action–state pairs
– e.g., S(Arad) = {<Arad Zerind, Zerind>, … }
noOp
Goal: clean up all dirt
Goal states: {7, 8}
Path Cost:
Actions R,L,U,D
Transition model Return S
Goal test All squares clean