Artificial Intelligence Chapter 8 Uninformed Search

Slides:



Advertisements
Similar presentations
Artificial Intelligent
Advertisements

Solving problems by searching Chapter 3. Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms.
Additional Topics ARTIFICIAL INTELLIGENCE
Cooperating Intelligent Systems
Review: Search problem formulation
Announcements Course TA: Danny Kumar
Uninformed search strategies
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal.
Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2007.
Artificial Intelligence Chapter 9 Heuristic Search Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
CS 480 Lec 3 Sept 11, 09 Goals: Chapter 3 (uninformed search) project # 1 and # 2 Chapter 4 (heuristic search)
CMSC 471 Spring 2014 Class #4 Thu 2/6/14 Uninformed Search Professor Marie desJardins,
Blind Search1 Solving problems by searching Chapter 3.
May 12, 2013Problem Solving - Search Symbolic AI: Problem Solving E. Trentin, DIISM.
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
1 Chapter 3 Solving Problems by Searching. 2 Outline Problem-solving agentsProblem-solving agents Problem typesProblem types Problem formulationProblem.
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.
Artificial Intelligence (CS 461D)
Artificial Intelligence Lecture No. 7 Dr. Asad Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2004.
Artificial Intelligence
Uninformed Search Reading: Chapter 3 by today, Chapter by Wednesday, 9/12 Homework #2 will be given out on Wednesday DID YOU TURN IN YOUR SURVEY?
Using Search in Problem Solving
Solving problems by searching
Artificial Intelligence Course outline Introduction Problem solving Generic algorithms Knowledge Representation and Reasoning Expert Systems Uncertainty.
Review: Search problem formulation Initial state Actions Transition model Goal state (or goal test) Path cost What is the optimal solution? What is the.
Chapter 4 Search in State Spaces Xiu-jun GONG (Ph. D) School of Computer Science and Technology, Tianjin University
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.
Introduction to search Chapter 3. Why study search? §Search is a basis for all AI l search proposed as the basis of intelligence l all learning algorithms,
Lecture 3: Uninformed Search
An Introduction to Artificial Intelligence Lecture 3: Solving Problems by Sorting Ramin Halavati In which we look at how an agent.
Problem solving by search Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Uninformed Search ECE457 Applied Artificial Intelligence Spring 2007 Lecture #2.
Basic Problem Solving Search strategy  Problem can be solved by searching for a solution. An attempt is to transform initial state of a problem into some.
Goal-based Problem Solving Goal formation Based upon the current situation and performance measures. Result is moving into a desirable state (goal state).
Solving problems by searching A I C h a p t e r 3.
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
Chapter 3 Solving problems by searching. Search We will consider the problem of designing goal-based agents in observable, deterministic, discrete, known.
Artificial Intelligence Solving problems by searching.
Lecture 3 Problem Solving through search Uninformed Search
Lecture 3: Uninformed Search
Problem Solving Agents
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
Introduction to Artificial Intelligence
Uninformed Search Chapter 3.4.
Problem Solving by Searching
Artificial Intelligence (CS 370D)
Artificial Intelligence Problem solving by searching CSC 361
Solving problems by searching
Biointelligence Lab School of Computer Sci. & Eng.
Problem Solving and Searching
CSE 4705 Artificial Intelligence
EA C461 – Artificial Intelligence
Searching for Solutions
Problem Solving and Searching
Principles of Computing – UFCFA3-30-1
Search Exercise Search Tree? Solution (Breadth First Search)?
A General Backtracking Algorithm
Artificial Intelligence
Artificial Intelligence Chapter 9 Heuristic Search
Biointelligence Lab School of Computer Sci. & Eng.
Artificial Intelligence Chapter 7 Agents That Plan
UNINFORMED SEARCH -BFS -DFS -DFIS - Bidirectional
ECE457 Applied Artificial Intelligence Fall 2007 Lecture #2
CS 416 Artificial Intelligence
CMSC 471 Fall 2011 Class #4 Tue 9/13/11 Uninformed Search
Solving Problems by Searching
Search Strategies CMPT 420 / CMPG 720.
Presentation transcript:

Artificial Intelligence Chapter 8 Uninformed Search

(c) 2000, 2001 SNU CSE Biointelligence Lab Outline Search Space Graphs Depth-First Search Breadth-First Search Iterative Deepening (c) 2000, 2001 SNU CSE Biointelligence Lab

1. Formulating the State Space For huge search space we need, Careful formulation Implicit representation of large search graphs Efficient search method (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab e.g.) 8-puzzle problem state description 3-by-3 array: each cell contains one of 1-8 or blank symbol two state transition descriptions 84 moves: one of 1-8 numbers moves up, down, right, or left 4 moves: one black symbol moves up, down, right, or left 5 7 4 6 1 3 8 2 (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab The number of nodes in the state-space graph: 9! ( = 362,880 ) State space for 8-puzzle is Divided into two separate graphs : not reachable from each other (c) 2000, 2001 SNU CSE Biointelligence Lab

2. Components of Implicit State-Space Graphs 3 basic components to an implicit representation of a state-space graph 1. Description of start node 2. Actions: Functions of state transformation 3. Goal condition: true-false valued function 2 classes of search process Uninformed search: no problem specific information Heuristic search: existence of problem-specific information (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab 3. Breadth-First Search Procedure 1. Apply all possible operators (successor function) to the start node. 2. Apply all possible operators to all the direct successors of the start node. 3. Apply all possible operators to their successors till goad node found.  Expanding : applying successor function to a node (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab Advantage Finds the path of minimal length to the goal. Disadvantage Requires the generation and storage of a tree whose size is exponential the the depth of the shallowest goal node Uniform-cost search [Dijkstra 1959] Expansion by equal cost rather than equal depth (c) 2000, 2001 SNU CSE Biointelligence Lab

4. Depth-First or Backtracking Search Procedure Generates the successor of a node just one at a time. Trace is left at each node to indicate that additional operators can be applied there if needed. At each node a decision must be made about which operator to apply first, which next, and so on. Repeats this process until the depth bound. chronological Backtrack when search depth is depth bound. (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab 8-puzzle example depth bound: 5 operator order: left  up  right  down (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab goal reached (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab Advantage Low memory size: linear in the depth bound saves only that part of the search tree consisting of the path currently being explored plus traces Disadvantage No guarantee for the minimal state length to goal state The possibility of having to explore a large part of the search space (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab 5. Iterative Deepening Advantage Linear memory requirements of depth-first search Guarantee for goal node of minimal depth Procedure Successive depth-first searches are conducted – each with depth bounds increasing by 1 (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab The number of nodes In case of breadth-first search In case of iterative deepening search (c) 2000, 2001 SNU CSE Biointelligence Lab

(c) 2000, 2001 SNU CSE Biointelligence Lab For large d the ratio Nid/Ndf is b/(b-1) For a branching factor of 10 and deep goals, 11% more nodes expansion in iterative-deepening search than breadth-first search Related technique iterative broadening is useful when there are many goal nodes (c) 2000, 2001 SNU CSE Biointelligence Lab

6. Additional Readings and Discussion Various improvements in chronological backtracking Dependency-directed backtracking [Stallman & Sussman 1977] Backjumping [Gaschnig 1979] Dynamic backtracking [Ginsberg 1993] (c) 2000, 2001 SNU CSE Biointelligence Lab