Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 585 Bytes

Table-Driven-Agent.md

File metadata and controls

13 lines (10 loc) · 585 Bytes

TABLE-DRIVEN-AGENT

AIMA3e

function TABLE-DRIVEN-AGENT(percept) returns an action
persistent: percepts, a sequence, initially empty
      table, a table of actions, indexed by percept sequences, initially fully specified

 append percept to the end of percepts
action ← LOOKUP(percepts, table)
return action


Figure ?? The TABLE-DRIVEN-AGENT program is invoked for each new percept and returns an action each time. It retains the complete percept sequence in memory.