AI Lecture2 - 3
AI Lecture2 - 3
and
Environment
1
Outline
Agents and environments
Good Behavior: Rationality
PEAS (Performance measure, Environment,
Actuators, Sensors)
Environment types
Agent types
Agents
An agent is anything that can perceive its
environment through sensors and act upon that
environment through actuators
3
Agents
Percept: Agent’s perceptual inputs at any
given instance.
6
The vacuum-cleaner world
Partial tabulation of a simple agent function for the vacuum cleaner world
7
The vacuum-cleaner world
8
Rational agents
For each possible percept sequence, a rational
agent should select an action that is expected to
maximize its performance measure,
13
PEAS
Consider, e.g., the task of designing an
automated taxi driver:
Performance measure: Safe, fast, comfortable, maximize
profits
14
PEAS
Agent: Medical diagnosis system
Performance measure: Healthy patient,
minimize costs, lawsuits
Environment: Patient, hospital, staff
Actuators: Screen display (questions, tests,
diagnoses, treatments, referrals)
Sensors: Keyboard (entry of symptoms,
findings, patient's answers)
PEAS
Agent: Part-picking robot
Performance measure: Percentage of parts
in correct bins
Environment: Conveyor belt with parts, bins
Actuators: Jointed arm and hand
Sensors: Camera, joint angle sensors
PEAS
Agent: Interactive English tutor
Performance measure: Maximize student's
score on test
Environment: Set of students
Actuators: Screen display (exercises,
suggestions, corrections)
Sensors: Keyboard
Environment Types
The range of task environments is vast in AI.
decisions.
Chess and taxi driving are sequential. Short term
example of multiagent.
Environment types
24
Environment types
Chess with Chess without Taxi driving
a clock a clock
Fully observable Yes Yes No
Deterministic Strategic Strategic No
Episodic No No No
Static Semi Yes No
Discrete Yes Yes No
Single agent No No No
agent=architecture+program
Agent Program
Function TABLE-DRIVEN_AGENT(percept) returns an action
32
Agent types; simple reflex
function SIMPLE-REFLEX-AGENT(percept) returns an action