Problem-solving agents function SIMPLE-PROBLEM-SOLVING-AGENT(percept)returns an action static:seg,an action sequence,initially empty state,some description of the current world state goal,a goal,initially null problem,a problem formulation stateUPDATE-STATE(state,percept) if seg is empty then do goal+FORMULATE-GOAL(state) problem+FORMULATE-PROBLEM(state,goal) seg+SEARCH(problem) action←-FIRST(seq) seq←REsT(seq return action 14]an2004 CS 3243 Blind Search 3 14 Jan 2004 CS 3243 - Blind Search 3 Problem-solving agents