Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping.

Slides:



Advertisements
Similar presentations
Solving problems by searching Chapter 3. Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms.
Advertisements

Additional Topics ARTIFICIAL INTELLIGENCE
Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2007.
Artificial Intelligence Problem Solving Eriq Muhammad Adams
Problem Solving and Search Andrea Danyluk September 9, 2013.
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
CS 480 Lec 3 Sept 11, 09 Goals: Chapter 3 (uninformed search) project # 1 and # 2 Chapter 4 (heuristic search)
Blind Search1 Solving problems by searching Chapter 3.
Search Strategies Reading: Russell’s Chapter 3 1.
May 12, 2013Problem Solving - Search Symbolic AI: Problem Solving E. Trentin, DIISM.
1 Chapter 3 Solving Problems by Searching. 2 Outline Problem-solving agentsProblem-solving agents Problem typesProblem types Problem formulationProblem.
1 Blind (Uninformed) Search (Where we systematically explore alternatives) R&N: Chap. 3, Sect. 3.3–5.
Solving Problem by Searching Chapter 3. Outline Problem-solving agents Problem formulation Example problems Basic search algorithms – blind search Heuristic.
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.
Lets remember about Goal formulation, Problem formulation and Types of Problem. OBJECTIVE OF TODAY’S LECTURE Today we will discus how to find a solution.
Solving problems by searching Chapter 3. Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms.
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 for Games Uninformed search Patrick Olivier
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
Search Strategies CPS4801. Uninformed Search Strategies Uninformed search strategies use only the information available in the problem definition Breadth-first.
UNINFORMED SEARCH Problem - solving agents Example : Romania  On holiday in Romania ; currently in Arad.  Flight leaves tomorrow from Bucharest.
Artificial Intelligence Lecture No. 7 Dr. Asad Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Artificial Intelligence for Games Depth limited search Patrick Olivier
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
An Introduction to Artificial Intelligence Lecture 3: Solving Problems by Sorting Ramin Halavati In which we look at how an agent.
CS 380: Artificial Intelligence Lecture #3 William Regli.
Review: Search problem formulation
Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2004.
Search I Tuomas Sandholm Carnegie Mellon University Computer Science Department [Read Russell & Norvig Chapter 3]
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.
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?
1 Lecture 3 Uninformed Search
Lecture 3 Uninformed Search.
Review: Search problem formulation Initial state Actions Transition model Goal state (or goal test) Path cost What is the optimal solution? What is the.
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.
Copyright R. Weber Search in Problem Solving ISYS 370 Dr. R. Weber.
Artificial Intelligence
AI in game (II) 권태경 Fall, outline Problem-solving agent Search.
Carla P. Gomes CS4700 CS 4700: Foundations of Artificial Intelligence Prof. Carla P. Gomes Module: Search I (Reading R&N: Chapter.
Search CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
An Introduction to Artificial Intelligence Lecture 3: Solving Problems by Sorting Ramin Halavati In which we look at how an agent.
SOLVING PROBLEMS BY SEARCHING Chapter 3 August 2008 Blind Search 1.
A General Introduction to Artificial Intelligence.
Chapter 3 Solving Problems by Searching. Abstraction  Representing the Real World Want to buy a full-scale model of the Real WorldWant to buy a full-scale.
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).
Solving problems by searching 1. Outline Problem formulation Example problems Basic search algorithms 2.
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.
Pengantar Kecerdasan Buatan
Uninformed search strategies A search strategy is defined by picking the order of node expansion Uninformed search strategies use only the information.
Problem Solving as Search. Problem Types Deterministic, fully observable  single-state problem Non-observable  conformant problem Nondeterministic and/or.
Problem Solving by Searching
Implementation: General Tree Search
Solving problems by searching A I C h a p t e r 3.
Blind Search Russell and Norvig: Chapter 3, Sections 3.4 – 3.6 CS121 – Winter 2003.
Search Part I Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary.
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: Uninformed Search
Problem Solving Agents
Problem Solving by Searching
Uninformed Search Strategies
Solving problems by searching
Problem Solving and Searching
Problem Solving and Searching
Presentation transcript:

Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping Partial Information Summary

Vilalta&Eick:Uninformed Search Introduction Let’s review a goal-based agent called a “problem-solving agent” They have two characteristics: 1.Find sequences of actions to reach a goal. 2.They are uninformed.

Vilalta&Eick:Uninformed Search Preliminaries We need to define two things: Goal Formulation Define objectives Problem Formulation Define actions and states

Vilalta&Eick:Uninformed Search Problem Formulation Four components: 1.The initial state 2.Actions (successor function) 3.Goal test 4.Path Cost

Vilalta&Eick:Uninformed Search Example

Vilalta&Eick:Uninformed Search Other Examples Toy Problems: Vacuum World 8-puzzle 8-queens problem

Vilalta&Eick:Uninformed Search Figure 3.3

Vilalta&Eick:Uninformed Search Figure 3.5

Vilalta&Eick:Uninformed Search Other Examples Real Problems Route-Finding Problem Robot Navigation Automatic Assembly Sequencing Protein Design Internet Searching

Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary

Vilalta&Eick:Uninformed Search Solutions We search through a search tree We expand new nodes to grow the tree There are different search strategies Nodes contain the following: state parent node action path cost depth

Vilalta&Eick:Uninformed Search Search Tree Initial state Expanded nodes

Vilalta&Eick:Uninformed Search Performance Four elements of performance: Completeness (guaranteed to find solution) Optimality (optimal solution?) Time Complexity Space Complexity

Vilalta&Eick:Uninformed Search Performance Complexity requires three elements: a.Branching factor b b.Depth of the shallowest node d c.Maximum length of any path m

Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary

Vilalta&Eick:Uninformed Search Breadth-First Search Root is expanded first Then all successors at level 2. Then all successors at level 3, etc. Properties:  Complete (if b and d are finite)  Optimal (if path cost increases with depth)  Cost is O(b d+1 )

Vilalta&Eick:Uninformed Search Search

Vilalta&Eick:Uninformed Search Uniform-Cost Search Like breadth-first search Expand node with lowest path cost. Properties:  Complete (if b and d are finite)  Optimal (if path cost increases with depth)  Cost is O(b c*/e )  Could be worse than breadth first search

Vilalta&Eick:Uninformed Search Search

Vilalta&Eick:Uninformed Search Depth-First Search Expand the deepest node at the bottom of the tree. Properties:  Incomplete  suboptimal  Space complexity is only O(bm) Only store the nodes on the current path including their unexpanded sibling nodes Backtracking even does better spacewise: O(m)

Vilalta&Eick:Uninformed Search Search

Vilalta&Eick:Uninformed Search Depth-Limited Like depth-first search but with depth limit L. Properties:  Incomplete (if L < d)  nonoptimal (if L > d)  Time complexity is O(b L )  Space complexity is O(bL)

Vilalta&Eick:Uninformed Search Iterative Deepening A combination of depth and breadth-first search. Gradually increases the limit L Properties:  Complete (if b and d are finite)  Optimal if path cost increases with depth  Time complexity is O(b d )

Vilalta&Eick:Uninformed Search Search

Vilalta&Eick:Uninformed Search Bidirectional Search Run two searches – one from the initial state and one backward from the goal. We stop when the two searches meet. Motivation:  Time complexity: (b d/2 + b d/2 ) < b d Searching backwards not easy.

Vilalta&Eick:Uninformed Search Figure 3.16

Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping Partial Information Summary

Vilalta&Eick:Uninformed Search Avoiding Looping & Repeated States Use a list of expanded states; non-expanded states (open and close list) Use domain specific knowledge Use sophisticated data structures to find already visited states more quickly. Checking for repeated states can be quite expensive and slow down the search alg.

Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary

Vilalta&Eick:Uninformed Search Partial Information Knowledge of states or actions is incomplete. a.Sensorless problems b.Contingency Problems c.Exploration Problems

Vilalta&Eick:Uninformed Search

Figure 3.21 Goal State

Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary

Vilalta&Eick:Uninformed Search Summary To search we need goal and problem formulation. A problem has initial state, actions, goal test, and path function. Performance measures: completeness, optimality, time and space complexity.

Vilalta&Eick:Uninformed Search Summary Uninformed search has no additional knowledge of states: breadth and depth-first search, depth-limited, iterative deepening, bidirectional search. In partially observable environments, one must deal with uncertainty and incomplete knowledge.