Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3.

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
Solving problems by searching
Announcements Course TA: Danny Kumar
Informed Search Methods Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 4 Spring 2004.
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.
Blind Search1 Solving problems by searching Chapter 3.
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.
Chapter 3. Solving Problems by Searching Reflex agent is simple base their actions on a direct mapping from states to actions but cannot work well in.
Solving Problem by Searching Chapter 3. Outline Problem-solving agents Problem formulation Example problems Basic search algorithms – blind search Heuristic.
Solving problems by searching Chapter 3. Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms.
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
Feng Zhiyong Tianjin University Fall  datatype PROBLEM ◦ components: INITIAL-STATE, OPERATORS, GOAL- TEST, PATH-COST-FUNCTION  Measuring problem-solving.
UNINFORMED SEARCH Problem - solving agents Example : Romania  On holiday in Romania ; currently in Arad.  Flight leaves tomorrow from Bucharest.
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
CHAPTER 3 CMPT Blind Search 1 Search and Sequential Action.
CS 380: Artificial Intelligence Lecture #3 William Regli.
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
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
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?
Solving problems by searching
Solving Problems by Searching AIMA Chapter 3 Fall 2006 Messiah College Dr. Gene Chase.
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
For Friday Finish chapter 3 Homework: –Chapter 3, exercise 6 –May be done in groups. –Clarification on part d: an “action” must be running the program.
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.
Solving Problems by Searching CPS Outline Problem-solving agents Example problems Basic search algorithms.
AI in game (II) 권태경 Fall, outline Problem-solving agent Search.
Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping.
1 Solving problems by searching 171, Class 2 Chapter 3.
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.
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.
Chapter 3 Sections Solving Problems by Searching Reflex agent is simple base their actions on a direct mapping(رسم الخرائط) from states to actions.
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.
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 3 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
Artificial Intelligence Lecture No. 6 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Introduction to Artificial Intelligence (G51IAI) Dr Rong Qu Blind Searches - Introduction.
Solving Problems by Searching 제 4 주 강의. Problem solving agent What to do by finding sequences of actions that lead to desirable states the current state.
Solving problems by searching A I C h a p t e r 3.
1 Solving problems by searching Chapter 3. 2 Outline Problem types Example problems Assumptions in Basic Search State Implementation Tree search Example.
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.
Lecture 2: Problem Solving using State Space Representation CS 271: Fall, 2008.
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.
Solving problems by searching Chapter 3. Types of agents Reflex agent Consider how the world IS Choose action based on current percept Do not consider.
Solving problems by searching
Problem Solving Agents
Problem Solving by Searching
Problem Solving as Search
Artificial Intelligence
Russell and Norvig: Chapter 3, Sections 3.4 – 3.6
Solving problems by searching
Problem Solving and Searching
Artificial Intelligence
Problem Solving and Searching
CS 2710, ISSP 2160 Foundations of Artificial Intelligence
ECE457 Applied Artificial Intelligence Fall 2007 Lecture #2
Solving Problems by Searching
Presentation transcript:

Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3

Fall 2002 Huan Liu for CSE471/5982 Problem-Solving Agents This is a kind of goal-based agents that decide what to do by finding sequences of actions that lead to desirable states. zFormulating problems zExample problems zSearching for solutions

Fall 2002 Huan Liu for CSE471/5983 A simple problem-solving agent zGoal formulation - limiting the objectives yA goal is a set of world states in which the goal is satisfied. zProblem formulation - deciding what actions and states to consider zSearch - looking for the best sequence of actions

Fall 2002 Huan Liu for CSE471/5984 A simple agent zSolutions - the results of search, so they are sequences of actions that lead to the goal zExecution - acting upon the world Formulate -> Search -> Execute An algorithm in Fig 3.1 (book)

Fall 2002 Huan Liu for CSE471/5985 Formulating Problems zKnowledge and problem types (Fig 3.2pdf) yThree possible actions (left, right, suck) yGoal states {7, 8} ySingle-state problem yMultiple-state problem yContingency problem (if) yExploration problem (experiment and discover) zSearch in a model vs. search in the world

Fall 2002 Huan Liu for CSE471/5986 Well-defined problems and solutions zProblem - a collection of information that the agent will use to decide what to do. States and actions are the basic elements of a problem zA world of states: initial state I, operator O (or successor) zState space - the set of all states reachable from I by any sequences of O

Fall 2002 Huan Liu for CSE471/5987 Problems and Solutions zExample: a simple Romania road map (Fig 3.3) zPath - connecting sets of states zPath cost zGoal test From single-state problems to multiple-state problems zState set space (Fig 3.7) ysee Fig 3.6 for a state space

Fall 2002 Huan Liu for CSE471/5988 Measuring problem-solving performance zReach the goal zSearch cost zTotal cost = path cost + search cost Choosing states and actions zThe real art of problem solving is in what goes into the description of the states and operators and what does not zAbstraction - removing detail from a representation

Fall 2002 Huan Liu for CSE471/5989 Example Problems zToy problems: concise and exact, used to illustrate or exercise various problem- solving methods - ideal cases zReal-world problems: more difficult and we want solutions, but there might be many different descriptions

Fall 2002 Huan Liu for CSE471/59810 Toy problem (1) zThe 8-puzzle yStates yOperators yGoal test yPath cost

Fall 2002 Huan Liu for CSE471/59811 Toy problem (2) zThe 8-queens yStates yOperators yGoal test yPath cost

Fall 2002 Huan Liu for CSE471/59812 Toy problem (3) zCryptarithmetic yStates yOperators yGoal test yPath cost

Fall 2002 Huan Liu for CSE471/59813 Toy problem (4) zThe vacuum world yStates yOperators yGoal test yPath cost zSingle-state vs. Multiple-state

Fall 2002 Huan Liu for CSE471/59814 Real-world problems zRoute finding zTouring and traveling salesperson problem zVLSI layout zRobot navigation zAssembly sequencing

Fall 2002 Huan Liu for CSE471/59815 Search zGenerating action sequences yExpanding the current state by... yGenerating a new set of states Let’s look at a situation we come to ECG … xPHX -> ASU -> ECG zA state map

Fall 2002 Huan Liu for CSE471/59816 What is search? zThe essence of search is to consider one at a time. z“Which one first?” -> Search Strategies zSearch tree - a representation of a state map yroot, nodes, fringe (leaf nodes) zHow to implement the fringe - a queue

Fall 2002 Huan Liu for CSE471/59817 Search Evaluation zEvaluating search strategies (Criteria) yCompleteness yTime complexity ySpace complexity yOptimality zBlind search (uninformed) zHeuristic search (informed)

Fall 2002 Huan Liu for CSE471/59818 Search Strategies zBreadth-first search yHow to implement it ybranching factor - a killing cost yFig 3.12 The main concerns ythe memory requirements yexponential complexity Uniform cost search

Fall 2002 Huan Liu for CSE471/59819 Search Strategies (2) zDepth-first search yHow to implement it The main concerns yWrong branch yDeep branch The cures yDepth-limited search yIterative deepening search

Fall 2002 Huan Liu for CSE471/59820 Search Strategies (3) zBidirectional search yThe two directions: Start, Goal (Fig 3.17) The main concerns yHow to search backwards yMultiple goal states yEfficient checking to avoid redundant search in the other tree

Fall 2002 Huan Liu for CSE471/59821 Search Strategies (4) zWhich one to use when yWe need to know the strategies in terms of the four criteria yWe need to know the problem

Fall 2002 Huan Liu for CSE471/59822 Summary zProblem solving is goal-based zA problem is of 4 parts yinitial state, operator, goal test, path cost zA single general search algorithm can solve any problem, but … zFour criteria: completeness, optimality, time complexity, space complexity zVarious search strategies