SP11 cs188 lecture 2 -- uninformed search 6PP

SP11 cs188 lecture 2 -- uninformed search 6PP - CS 188:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS 188: Artificial Intelligence Spring 2011 Lecture 2: Queue-Based Search 1/24/2010 Pieter Abbeel – UC Berkeley Many slides from Dan Klein Announcements s Project 0: Python Tutorial s Due Friday 5pm. s Lab session Wednesday 3-5pm in 271 Soda s The lab time is optional, but P0 itself is not s On submit, you should get email from the autograder s Project 1: Search s Out today, due next week Friday 5pm. s Start early and ask questions. It’s longer than most! s Sections starting this week Thursday and Friday s See course webpage for details Today s Reflex Agents s Agents that Plan Ahead b Formalization: Search Problems s Uninformed Search Methods (part review for some) s Depth-First Search s Breadth-First Search s Uniform-Cost Search s Heuristic Search Methods (new for all) s Greedy Search Reminder s Only a very small fraction of AI is about making computers play games intelligently s Recall: computer vision, natural language, robotics, machine learning, computational biology, etc. s That being said: games tend to provide relatively simple example settings which are great to illustrate concepts and learn about algorithms which underlie many areas of AI Reflex Agent s Choose action based on current percept (and maybe memory) s May have memory or a model of the world’s current state s Do not consider the future consequences of their actions s Act on how the world IS s Can a reflex agent be rational? A reflex agent for pacman s While(food left) s Sort the possible directions to move according to the amount of food in each direction s Go in the direction with the largest amount of food Reflex agent 4 actions: move North, East, South or West
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 A reflex agent for pacman (2) s While(food left) s Sort the possible directions to move according to the amount of food in each direction s Go in the direction with the largest amount of food Reflex agent A reflex agent for pacman (3) s While(food left) s Sort the possible directions to move according to the amount of food in each direction s Go in the direction with the largest amount of food s But, if other options are available, exclude the direction we just came from Reflex agent A reflex agent for pacman (4) s While(food left)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/26/2011 for the course CS 188 taught by Professor Staff during the Spring '08 term at University of California, Berkeley.

Page1 / 7

SP11 cs188 lecture 2 -- uninformed search 6PP - CS 188:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online