Ch' 2 Intelligent Agents - PowerPoint PPT Presentation

About This Presentation
Title:

Ch' 2 Intelligent Agents

Description:

Start, Lose(Rock,Paper), Win(Scissors,Paper) Paper Start, Win(Rock,Scissors), Tie(Rock,Rock) ... Start, Win(Rock,Scissors) Rock Start Action. Percept ... – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 6
Provided by: JeffH47
Category:

less

Transcript and Presenter's Notes

Title: Ch' 2 Intelligent Agents


1
Ch. 2 Intelligent Agents
  • Supplemental slides for CSE 327
  • Prof. Jeff Heflin

2
Agent Review
Agent

percepts

sensors

Environment

?

actions

actuators
  • ideal rational agent an agent that always takes
    the action expected to maximize its performance
    measure, given the set of percepts (percept
    sequence) it has seen so far

3
Table Driven Agent
  • function TABLE-DRIVEN-AGENT(percept) returns an
    action
  • static percepts, a sequence, initially
    empty table, a table of actions, indexed by
    percept sequences append percept to the end of
    percepts action ? LOOKUP(percepts,
    table) return action
  • From Figure 2.7, p. 45

4
Table Driven Agent
function name
input
output type
function TABLE-DRIVEN-AGENT(percept) returns
an action static percepts, a sequence,
initially empty table, a table of actions,
indexed by percept sequences append percept to
the end of percepts action ? LOOKUP(percepts,
table) return action From Figure 2.7,
p. 45
assignment operation
function call
output value
static variables maintain values between
function calls, like global variables but can
only be referenced within the function
5
Rock, Scissors, Paper Table Driven Agent
Write a Comment
User Comments (0)
About PowerShow.com