Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 475 Bytes

Simple-Reflex-Agent.md

File metadata and controls

13 lines (10 loc) · 475 Bytes

SIMPLEX-REFLEX-AGENT

AIMA3e

function SIMPLE-REFLEX-AGENT(percept) returns an action
persistent: rules, a set of condition-action rules

state ← INTERPRET-INPUT(percept)
rule ← RULE-MATCH(state,rules)
actionrule.ACTION
return action


Figure ?? A simple reflex agent. It acts according to a rule whose condition matches the current state, as defined by the percept.