CS156
Chris Pollett
Aug 28, 2017
I'm back from Computer Analysis of Images and Patterns 2017! Here's a brief summary of the CS 156 Syllabus Vasudha covered last week:
Which of the following is true? (May be more than one)
[A, clean] Right [A, dirty] Suck [B, clean] Left [B, dirty] Suck ...
function TABLE-DRIVEN-AGENT (percept) returns an action
persistent: percepts, a sequence, initially empty;
#can think of this as a static var
table, a table of actions,
indexed by percept sequences;
#think of as a const
append percept to the end of percepts;
action := Lookup(percepts, table);
return action;
The key challenge of AI is to find out how to write programs that produce rational behavior from a smallish program rather than a vast table. We next look at four kinds of agent programs that embody most intelligent systems.
function REFLEX-VACUUM-AGENT ([location, status]) returns as action
if(status == Dirty) then return Suck;
else if(location == A) then return Right;
else if(location == B) then return Left;