Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
Nguyễn Ngọc Thảo [email protected] CS420 – Artificial Intelligence
What makes a good trip at Arad?
function SIMPLE-PROBLEM-SOLVING-AGENT( percept ) returns an action persistent : seq , an action sequence, initially empty state , some description of the current world state goal , a goal, initially null problem , a problem formulation state ← UPDATE-STATE( state, percept ) if seq is empty then goal ← FORMULATE-GOAL( state ) problem ← FORMULATE-PROBLEM( state, goal ) seq ← SEARCH( problem ) if seq = failure then return a null action action ← FIRST( seq ) seq ← REST( seq ) return action
Well-define problems and solutions
Formulating problems by abstraction
Example Problems
The state space for the vacuum world Links denote actions: L = Left, R = Right, S = Suck.