AI 2012/13 Flashcards
(87 cards)
What is an agent program?
The implementation of the agent function.
What is an agent function?
Mapping from sensors to actuators.
What is an agent?
Architecture (hardware: sensors/actuators) + Program
Are input and output part of the program?
No.
What is the input to the agent program?
Only the next percept.
Is the performance meassure part of the skeleton?
No.
Name three alternative architecture designs!
- Touring Machine
- Fergusson, Subsumption Architecture
- Brooks
As what kind of agent could a chess-computer be realized?
Table-Driven-Agent
What are the two “persistent” parts of a table-driven-agent-function?
- percepts (a sequence, initially empty)
- table (table of actions, indexed by percept sequences, initally fully specified)
What could a simple agent-program for a table-driven-agent look like?
function TABLE-DRIVEN-AGENT(percept) returns an action
persistent: percepts
table
append percept to the end of percepts
action <- LOOKUP(percepts, table)
return action
How does action selection work in a seimple reflex agent?
The action selection is based on current percept only.
Give an abstract example for a production rule of a simple reflex agent!
if condition then action
Write down the shortest possible agent program for a reflex-vaccuum-agent and specify a longer but more efficient possibility!
function REFLEX-VACUUM-AGENT([location, status]) returns action if status = Dirty then return Suck else if location = A then return Right else if location = B then return Left
more efficient production rules (because they can be checked and executed very efficiently):
if status = Dirty and location = A then return Suck
if status = Dirty and location = B then return Suck
if status = Clean and location = A then return Right
if status = Clean and location = B then return Left
How does the agent program of a simple reflex agent generally look like?
function SIMPLE-REFLEX-AGENT(percept) returns action state <- rule.ACTION return action
Name one advantages of a simple-reflex-agent!
- very efficient implementation by exploiting relevant properties of the environment (e.g. logical gates implementing Boolean circuits)
What are the consequences of the perceptual aliasing problem for a simple reflex agent?
It is applicable only to fully observable environments.
What is the perceptual aliasing problem?
States that are perceptually undistinguishable but sementically different.
How to improve a simple reflex agent?
- implementation of “internal state” -> requires a “world model”
What is the difference between a simple reflex agent and a model-based reflex agent?
The model-based reflex agent acts on the basis of a world model.
What is a function, generally speaking?
A directed relation between two sets, the domain and the range.
What kind of function is illustrated here? Set A Set B # -----------> # # # -----------> # # # # -----------> #
An injective function.
What kind of function is illustrated here? Set A Set B # -----------> # # -----------> # # -----------> # # -----------> # # -----------> #
A bijective function.
What kind of function is illustrated here? Set A Set B # -----------> # # -----------> # #, # -----------> # # -----------> # # -----------> # # #
A surjective function.
What does rationality NOT mean?
being perfect, omniscient, clairvoyant