Quiz Th. Jan. 19.

Slides:



Advertisements
Similar presentations
Uninformed search strategies
Advertisements

Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2007.
Quiz 4-26-’07 Search.
Artificial Intelligence Problem Solving Eriq Muhammad Adams
Problem Solving Agents A problem solving agent is one which decides what actions and states to consider in completing a goal Examples: Finding the shortest.
1 Lecture 3 Uninformed Search. 2 Uninformed search strategies Uninformed: While searching you have no clue whether one non-goal state is better than any.
Solving Problems by Searching Currently at Chapter 3 in the book Will finish today/Monday, Chapter 4 next.
Blind Search by Prof. Jean-Claude Latombe
Breadth-First Search Seminar – Networking Algorithms CS and EE Dept. Lulea University of Technology 27 Jan Mohammad Reza Akhavan.
G5BAIM Artificial Intelligence Methods Graham Kendall Blind Searches.
CPSC 322, Lecture 5Slide 1 Uninformed Search Computer Science cpsc322, Lecture 5 (Textbook Chpt 3.4) January, 14, 2009.
Search Strategies Reading: Russell’s Chapter 3 1.
1 Blind (Uninformed) Search (Where we systematically explore alternatives) R&N: Chap. 3, Sect. 3.3–5.
1 Lecture 3 Uninformed Search. 2 Uninformed search strategies Uninformed: While searching you have no clue whether one non-goal state is better than any.
Implementation and Evaluation of Search Methods. Use a stack data structure. 1. Push root node of tree on the stack. 2. Pop the top node off the stack.
Touring problems Start from Arad, visit each city at least once. What is the state-space formulation? Start from Arad, visit each city exactly once. What.
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
Artificial Intelligence (CS 461D)
Artificial Intelligence Lecture No. 7 Dr. Asad Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2004.
Artificial Intelligence
Quiz Oct “Solving” a Jiggsaw puzzle We want to build a “jigsaw puzzle solver”. You are given 3 jigsaw puzzle pieces, A,B,C and a template. Your.
Artificial Intelligence Chapter 3: Solving Problems by Searching
1 Lecture 3 Uninformed Search. 2 Complexity Recap (app.A) We often want to characterize algorithms independent of their implementation. “This algorithm.
Quiz Th 4-12-’07 CompSci 171 Intro AI Max Welling.
CS 188: Artificial Intelligence Spring 2006 Lecture 2: Queue-Based Search 8/31/2006 Dan Klein – UC Berkeley Many slides over the course adapted from either.
Solving problems by searching
1 Structures and Strategies for State Space Search 3 3.0Introduction 3.1Graph Theory 3.2Strategies for State Space Search 3.3Using the State Space to Represent.
1 Lecture 3 Uninformed Search
Problem-solving agents
Leroy Garcia 1.  Artificial Intelligence is the branch of computer science that is concerned with the automation of intelligent behavior (Luger, 2008).
Lecture 3 Uninformed Search.
1 Problem Solving and Searching CS 171/271 (Chapter 3) Some text and images in these slides were drawn from Russel & Norvig’s published material.
CS 440 / ECE 448 Introduction to Artificial Intelligence Spring 2010 Lecture #3 Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam.
Introduction to search Chapter 3. Why study search? §Search is a basis for all AI l search proposed as the basis of intelligence l inference l all learning.
Intelligent Systems (2II40) C2 Alexandra I. Cristea September 2005.
Computer Science CPSC 322 Lecture 9 (Ch , 3.7.6) Slide 1.
Quiz Th. Oct. 20 Chapters 1,2,3,4. S B AD E C F G straight-line distances h(S-G)=10 h(A-G)=7 h(D-G)=1 h(F-G)=1 h(B-G)=10 h(E-G)=8 h(C-G)=20.
Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping.
Agents and Uninformed Search ECE457 Applied Artificial Intelligence Spring 2007 Lecture #2.5.
1 Solving problems by searching Chapter 3. Depth First Search Expand deepest unexpanded node The root is examined first; then the left child of the root;
Uninformed Search ECE457 Applied Artificial Intelligence Spring 2007 Lecture #2.
Goal-based Problem Solving Goal formation Based upon the current situation and performance measures. Result is moving into a desirable state (goal state).
1 search CS 331/531 Dr M M Awais REPRESENTATION METHODS Represent the information: Animals are generally divided into birds and mammals. Birds are further.
Uninformed search strategies A search strategy is defined by picking the order of node expansion Uninformed search strategies use only the information.
Breadth First Search and Depth First Search. Greatest problem in Computer Science Has lead to a lot of new ideas and data structures Search engines before.
Implementation: General Tree Search
Solving problems by searching A I C h a p t e r 3.
CPSC 322, Lecture 5Slide 1 Uninformed Search Computer Science cpsc322, Lecture 5 (Textbook Chpt 3.5) Sept, 13, 2013.
Search Part I Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary.
Brian Williams, Fall 041 Analysis of Uninformed Search Methods Brian C. Williams Sep 21 st, 2004 Slides adapted from: Tomas Lozano Perez,
For Monday Read chapter 4 exercise 1 No homework.
Representing Graphs Depth First Search Breadth First Search Graph Searching Algorithms.
Uninformed search Lirong Xia Spring, Uninformed search Lirong Xia Spring, 2017.
Uninformed Search Strategies
Artificial Intelligence (CS 370D)
Quiz Oct
CS 188: Artificial Intelligence Spring 2007
SOLVING PROBLEMS BY SEARCHING
Problem Solving and Searching
Problem Solving and Searching
Principles of Computing – UFCFA3-30-1
Search Exercise Search Tree? Solution (Breadth First Search)?
A General Backtracking Algorithm
Uninformed search Lirong Xia. Uninformed search Lirong Xia.
Uninformed search Lirong Xia. Uninformed search Lirong Xia.
UNINFORMED SEARCH -BFS -DFS -DFIS - Bidirectional
ECE457 Applied Artificial Intelligence Fall 2007 Lecture #2
Midterm Review.
Presentation transcript:

Quiz Th. Jan. 19

1. Consider an agent whose goal is to drive between between Los Angeles and San Francisco to deliver a package. The agent (i.e. car) is mounted with a single camera to observe it environment. On Monday July 12 2007 the agent “dies” because it is hit by an airplane that happened to crash on its roof. a) [2pt] Is this agent necessarily behaving irrational? Explain your answer. b) [2pt] Give four examples of actuators or sensors for this agents (car). c) [2pt] Is the task environment for the agent discrete or continuous? (Explain). d) [2pt] Is the task environment for this agent episodic or sequential? (Explain). 2. Consider the graph below: a) [2pt] Draw the first 3 levels of the search tree with root node given by A. b) [2pt] Give a order in which we visit nodes if we search the tree breadth first. c) [2pt] Express time and space complexity for general breadth-first search in terms of the branching factor, b, and the depth of the goal state, d. d) [2pt] If the step-cost for a search problem is not constant, is breadth first search an optimal search algorithm? (Explain). D B F A E C

a). [2pt]. Is this agent necessarily behaving irrational a) [2pt] Is this agent necessarily behaving irrational? Explain your answer. No, rational is optimizing the expected utility. b) [2pt] Give four examples of actuators or sensors for this agents (car). sensor: camera, actuators: gas, horn, steering wheel. c) [2pt] Is the task environment for the agent discrete or continuous? (Explain). continuous: position on the road is for instance continuous. d) [2pt] Is the task environment for this agent episodic or sequential? (Explain). sequential: actions influence future actions. 2. a) [2pt] Draw the first 3 levels of the search tree with root node given by A. Expand the neighbors iteratively. You should be drawing the same node multiple times. b) [2pt] Give a order in which we visit nodes if we search the tree breadth first. Scan the tree level by level where the order inside a level is arbitrary. c) [2pt] Express time and space complexity for general breadth-first search in terms of the branching factor, b, and the depth of the goal state, d. O(b^(d+1)) or O(b^d) for both time and space. d) [2pt] If the step-cost for a search problem is not constant, is breadth first search an optimal search algorithm? (Explain). No, because deeper solutions may have lower cost than shallower solutions in that case, and BFS will stop when it finds a shallow solution.