Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 855 Bytes

Model-Based-Reflex-Agent.md

File metadata and controls

16 lines (13 loc) · 855 Bytes

MODEL-BASED-REFLEX-AGENT

AIMA3e

function MODEL-BASED-REFLEX-AGENT(percept) returns an action
persistent: state, the agent's current conception of the world state
      model, a description of how the next state depends on current state and action
      rules, a set of condition-action rules
      action, the most recent action, initially none

state ← UPDATE-STATE(state, action, percept, model)
rule ← RULE-MATCH(state,rules)
actionrule.ACTION
return action


Figure ?? A model-based reflex agent. It keeps track of the current state of the world, using an internal model. It then chooses an action in the same way as the reflex agent.