Quiz Th. Oct. 20 Chapters 1,2,3,4. S B AD E C F G 1 20 2 3 48 61 1 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.

Slides:



Advertisements
Similar presentations
Uninformed search strategies
Advertisements

Informed Search Methods Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 4 Spring 2004.
Quiz 4-26-’07 Search.
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.
Uninformed (also called blind) search algorithms) This Lecture Chapter Next Lecture Chapter (Please read lecture topic material before.
Properties of breadth-first search Complete? Yes (if b is finite) Time? 1+b+b 2 +b 3 +… +b d + b(b d -1) = O(b d+1 ) Space? O(b d+1 ) (keeps every node.
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.
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.
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)
Search Strategies CPS4801. Uninformed Search Strategies Uninformed search strategies use only the information available in the problem definition Breadth-first.
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
CPSC 322 Introduction to Artificial Intelligence October 27, 2004.
Review: Search problem formulation
Searching the search space graph
Informed search algorithms
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.
1 Lecture 3 Uninformed Search. 2 Complexity Recap (app.A) We often want to characterize algorithms independent of their implementation. “This algorithm.
Quiz Th. Jan. 19.
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.
Informed search algorithms Chapter 4. Outline Best-first search Greedy best-first search A * search Heuristics Memory Bounded A* Search.
Problem Solving by Searching Search Methods : informed (Heuristic) search.
Informed search algorithms Chapter 4. Outline Best-first search Greedy best-first search A * search Heuristics Memory Bounded A* Search.
Artificial Intelligence
Search by partial solutions.  nodes are partial or complete states  graphs are DAGs (may be trees) source (root) is empty state sinks (leaves) are complete.
For Friday Finish reading chapter 4 Homework: –Lisp handout 4.
For Monday Read chapter 4, section 1 No homework..
Informed search algorithms Chapter 4. Outline Best-first search Greedy best-first search A * search Heuristics Local search algorithms Hill-climbing search.
Review: Tree search Initialize the frontier using the starting state While the frontier is not empty – Choose a frontier node to expand according to search.
CSC3203: AI for Games Informed search (1) Patrick Olivier
For Friday Read chapter 4, sections 1 and 2 Homework –Chapter 3, exercise 7 –May be done in groups.
Basic Search Procedure 1. Start with the start node (root of the search tree) and place in on the queue 2. Remove the front node in the queue and If the.
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.
Implementation: General Tree Search
Ch. 3 – Search Supplemental slides for CSE 327 Prof. Jeff Heflin.
Artificial Intelligence Search Problem (2). Uninformed and informed searches Since we know what the goal state is like, is it possible get there faster?
Solving problems by searching A I C h a p t e r 3.
Chapter 3.5 and 3.6 Heuristic Search Continued. Review:Learning Objectives Heuristic search strategies –Best-first search –A* algorithm Heuristic functions.
Informed Search. 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 The graph above.
For Monday Read chapter 4 exercise 1 No homework.
Biointelligence Lab School of Computer Sci. & Eng. Seoul National University Artificial Intelligence Chapter 8 Uninformed Search.
Representing Graphs Depth First Search Breadth First Search Graph Searching Algorithms.
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.
Chapter 3.5 Heuristic Search. Learning Objectives Heuristic search strategies –Best-first search –A* algorithm Heuristic functions.
Lecture 3 Problem Solving through search Uninformed Search
Lecture 3: Uninformed Search
Review: Tree search Initialize the frontier using the starting state
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6
Uninformed Search Chapter 3.4.
Artificial Intelligence (CS 370D)
Quiz Feb Inf. Search & CSP.
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6
Quiz Oct
Problem Solving and Searching
What to do when you don’t know anything know nothing
CSE 4705 Artificial Intelligence
EA C461 – Artificial Intelligence
Artificial Intelligence
Problem Solving and Searching
Informed search algorithms
UNINFORMED SEARCH -BFS -DFS -DFIS - Bidirectional
CMSC 471 Fall 2011 Class #4 Tue 9/13/11 Uninformed Search
Artificial Intelligence: Theory and Practice Ch. 3. Search
Presentation transcript:

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 The graph above shows the step-costs for different paths going from the start (S) to the goal (G). On the right you find the straight-line distances. 1.Draw the search tree for this problem. Avoid repeated states. 2.Give the order in which the tree is searched (e.g. S-C-B...-G) for the following search algorithms: a) Breadth-first search, Depth first search, uniform cost search, and A* search. For A* use the straight-line dist. as a heuristic function, i.e. h=SLD, and indicate for each node visited what the value for the evaluation function, f, is. 3.For each algorithm indicate whether it is an informed or an uninformed search strategy. 4.For each algorithm indicate separately whether its time complexity is polynomial or exponential in the number of nodes visited. Same for space complexity. 5.For each algorithm indicate separately whether it is complete and/or optimal. Answer these questions for generic search problems. Assume step-cost positive but not constant, do not assume we can avoid repeated states, do not assume we have a very good heuristic function h.

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 Solutions: 1.(1pt) Search tree: 2.(4pts) BF: e.g. S-A-B-C-D-E-G. | DF: e.g. S-C-G. | UC: S-C-B-A-E-D-F-G A*: S-A-D-F-G | f-values: 10,10,10,11,11. 3.(1pt) BF,DF,UC are uninformed while A* is informed. 4.(2pts) BF: Time&Space exp., DF: Time exp. Space pol. (linear), UC: Space&Time exp. A* Space&Time exponential. 5.(2pts) BF: complete, not optimal, DF: not complete, not optimal, UC: complete, optimal, A*: complete, optimal. G G