Map coloring. 4 colors. From coloring to CSP. Informed Search Methods. Constrained Satisfaction Search. Constrained Satisfaction Search.

Size: px
Start display at page:

Download "Map coloring. 4 colors. From coloring to CSP. Informed Search Methods. Constrained Satisfaction Search. Constrained Satisfaction Search."

Transcription

1 Constrained Satisfaction Search Informed Search Methods Example: 8-Queens Problem States: <V 1, V 2,, V 8 >, where V is the row occupied by the ith queen. Constraint satisfaction search Heuristics Best First Search Greedy Search A* Search Domains: {1, 2, 3, 4, 5, 6, 7, 8} Constraints: no-attack constraint { <1,3>, <1,4>, <1,5>, <2,4>. <2,5>, } where each element specifies a pair of allowable values for variables V i and V j. CIS 412, UMD, 2 Constrained Satisfaction Search Map coloring Types of Constraints Discrete (e.g. 8-queens) versus Continuous. Absolute constraints (violation rules out solution candidate) versus preferential constraints (e.g. programming). Other better search strategies Backtracking search, forward checking, arc consistency checking. constraint propagation. No color left CIS 412, UMD, 3 CIS 412, UMD, 4 4 colors Motivations Map coloring is typical CSP CSP problems Timetabling Scheduling New paradigm constraint programming From coloring to CSP CIS 412, UMD, 5 CIS 412, UMD, 6 1

2 Can we 2-color a triangle? Early failure CIS 412, UMD, 7 CIS 412, UMD, 8 Can we 2-color a triangle? Shortest Path Problems Common in real-life problems e.g. select routes for planes to minimise fuel use With planning and puzzles we saw that finding a plan or solving a puzzle becomes find a path But the relevant graphs are now implicit nodes and edges are only given by rules exponentially larger than occurs with explicit maps 15-puzzle has 16!/2 states (approx 10 13) CIS 412, UMD, 9 CIS 412, UMD, 10 Shortest Path Problems When the graph becomes too large blind search is no longer practical Problem is that blind search does not look in the right places To see this think of the search pattern of Uniform Cost Search On the next 2 slides we will see an example based on a map of Romania from AIMA These include an animation of how UCS performs the search, hence printed version will be a mess! CIS 412, UMD, 11 Study The optimal this map route of Romania. between the Note two the cities distances takes between us through cities and try and and. calculate the Press shortest space route to continue between with Sibiu the and slideshow.. Then press space to see the optimal route marked in red. 71 Oradea Lugoj 70 Mehadia Optimal route is (++101) = 278 miles Sibiu 99 Faragas Giurgui CIS 412, UMD, 12 2

3 ANIMATION OF UCS. Nodes Expanded 1.Sibiu 2. 3.Faragas Oradea GOAL!! 87 Fringe in RED with g Visited in BLUE 92 Optimal route is (++101) = 278 miles Sibiu 99 Faragas Lugoj Mehadia (F) 226 (R) (R,P) Giurgui [315 (R,P)] CIS 412, UMD, 13 Remarks We expanded and even though they are in totally the wrong direction! The search pattern was expanding concentric circles CIS 412, UMD, 14 Uniform Cost Search in Graphs Search Pattern: smaller cost nodes before larger Fringe in red Visited in blue Blind: still ignores s Heuristics in search What is heuristics? It uses heuristics, or rules-of-thumb to help decide which parts of a tree to examine. A heuristic is a rule or method that almost always improves the decision process. This region is basically wasted effort CIS 412, UMD, 15 CIS 412, UMD, 16 Heuristic Search Heuristic Search Desired Search Pattern: biased in direction of (s) Fringe in red Visited in blue When reaches will have had to explore less of the graph Reduces time and memory usage Want to achieve this pattern but stay complete optimal If bias the search too much then could miss s or miss shorter paths CIS 412, UMD, 17 CIS 412, UMD, 18 3

4 Heuristics for 8-tile puzzle Heuristics for 8-tile puzzle Two possible heuristic functions that never overestimate the number of steps to the are: 1. h 1 = the number of tiles that are in the wrong position. In figure 5.7, none of the 8 tiles is in the position, so that state would have h 1 = 8. h 1 is admissible heuristic, because it is clear that any tile that is out of the place must be moved at least once. 2. h 2 = the sum of distance of the tiles from their positions. Since no diagonal moves is allow, we use Manhattan distance or city block distance. h 2 is also admissible, because any move can only move 1 tile 1 step closer to the. The 8 tiles in the state give a Manhattan distance of h 2 = = 18 CIS 412, UMD, 19 CIS 412, UMD, 20 Heuristics for 8-tile puzzle More Realistic Picture In real problems the graphs are messy and the search pattern not clean What we think is correct direction might be ultimately wrong Standard solution to stay complete and optimal: A* search pronounced A star But first do a more general heuristic method: Best First Search CIS 412, UMD, 21 CIS 412, UMD, 22 Heuristic Search Best first search Suppose have some estimates, h, of the cost from a (fringe) node to the Want to favour small h Expand A first? g A A B g B h A h B CIS 412, UMD, 23 CIS 412, UMD, 24 4

5 CIS 412, UMD, 25 CIS 412, UMD, 26 Greedy search This is one of the simplest BestFS strategy. Heuristic function: h(n) - prediction of path cost lef to the. Greedy Search: To minimize the estimated cost to reach the. The node whose state is judged to be closest to the state is always expanded first. Two route-finding methods (1) Straight line distance; (2) minimum Manhattan Distance - movements constrained to horizontal and vertical directions. CIS 412, UMD, 27 CIS 412, UMD, 28 Greedy search Greedy search Noticed that the solution for A S F B is not optimum. It is 32 miles longer than the optimal path A S R P B. The strategy prefers to take the biggest bite possible out of the remaining cost to reach the, without worrying whether this is the best in the long run - hence the name greedy search. It seeks to minimise the estimated cost to the by expanding the node estimated to be closest to the state Greed is one of the 7 deadly sins, but it turns out that GS perform quite well though not always optimal. GS is susceptible to false. Consider the case of going from to Fagaras. will be consider before Vaului even though it is a dead end. CIS 412, UMD, 29 CIS 412, UMD, 30 5

6 Greedy Search Perfect Information Search Dives in what h says is the best direction Suppose that by magic (by an oracle in CS parlance) we knew the True minimum cost from any node N to the I.e. suppose we know h T (n) This direction is just an estimate and can be wrong In UCS we can expect to know g T (n) True min cost, f T (n) for going via n, f T (n) = g T (n) + h T (n) CIS 412, UMD, 31 CIS 412, UMD, 32 Comparisons 1. UCS: BestFS( g ) complete, optimal, high memory usage 2. Perfect-Info: BestFS( g T (n) + h T (n) ) complete, optimal, low memory usage 3. Greedy: BestFS( h ) incomplete, suboptimal, low memory usage A* Search Cannot implement Perfect Info! Try to get best combination use g(n) : best path cost so far use heuristic h(n), as do not have the true h T (n) A* Search is BestFS( g + h ) That is, define f(n) = g(n) + h(n) estimated minimum cost via n and use BestFS( f(n) ) CIS 412, UMD, 33 CIS 412, UMD, 34 Effects of h choices Two extreme cases h=0 A* becomes UCS : complete&optimal but search pattern undirected h too large : if h is large enough to dominate g then becomes like Greedy. uses less memory but lose optimality. Usually when we say A* we exclude the last case, and imply that we have an: Admissible Heuristic: h(n) h T (n) we never over-estimate distance h(n) must provide a valid lower bound on cost to the the g term does not get swamped and misled, but the search pattern improves A* is complete and optimal, and memory usage can be much lower than UCS A* with Admissible Heuristic Complete and Optimal Search as for Uniform Cost Search Search Pattern seeks out s Reduced memory and time usage It is good on maps/graphs It is essential on planning and puzzles CIS 412, UMD, 35 CIS 412, UMD, 36 6

7 Admissible Heuristic Need an h Must underestimate actual distance via the roads to the Straight Line Distance (SLD) Roads cannot be shorter than this CIS 412, UMD, 37 Straight Line Distances to Town Fagaras Giurgiu Lugoj SLD Town Mehadai Oradea Sibiu SLD We can use straight line distances as an admissible heuristic as they will never overestimate the cost to the. This is because there is no shorter distance between two cities than the straight line distance. Press space to continue with the slideshow. CIS 412, UMD, 38 ANIMATION OF A*. Nodes Expanded 1.Sibiu Fagaras GOAL!! 71 Oradea 87 Annotations: Fringe in RED g+h=f Visited in BLUE +366= Optimal route is (++101) = 278 miles = =277 Sibiu 99 Fagaras could use? =273 Lugoj 177+=2 70 Mehadia =310 (F) =3(R) =278 (R,P) 120 Giurgui =4(R) CIS 412, UMD, 39 In terms of a search tree we could represent this as follows... Si =253 Maths: g + h = f 99 Press space to begin the search Ri 2 Pi =2 =273 Fa =277 Ar +366 =506 A* SEARCH TREE Cr =3 Bu = Bu =278 Cr =4 The state is achieved. In relation to path cost, A* has found the optimal route with 5 expansions. Press space to end. CIS 412, UMD, 40 Heuristic Searches - Example Problem Initial State Goal State Heuristic Searches - A* Algorithm Typical solution is about twenty steps Branching factor is approximately three. Therefore a complete search would need to search 3 20 states. But by keeping track of repeated states we would only need to search 9! (362,8) states But even this is a lot (imagine having all these in memory) CIS 412, UMD, 41 Our aim is to develop a heuristic that does not over estimate (it is admissible) so that we can use A* to find the optimal solution CIS 412, UMD, 42 7

8 Heuristic Searches - Possible Heuristics H 1 = the number of tiles that are in the wrong position (=7) H 2 = the sum of the distances of the tiles from their positions using the Manhattan Distance (=18) Both are admissible but which one is best? Test from 100 runs with varying solution depths Search Cost Depth IDS A*(h1) A*(h2) H 2 looks better as fewer nodes are expanded. But why? CIS 412, UMD, 43 CIS 412, UMD, 44 Effective Branching Factor Search EBF Cost Depth IDS A*(h 1) A*(h 2) IDS A*(h 1) A*(h 2) H 2 has a lower branching factor and so fewer nodes are expanded Therefore, one way to measure the quality of a heuristic is to find its average branching factor H 2 has a lower EBF and is therefore the better heuristic CIS 412, UMD, 45 Admissible Heuristics The restriction we mentioned on the previous slide for the h function is simply this: The h function must never overestimate the cost to reach the. Such an h is called an admissible heuristic. Another way of describing admissible functions is to say they are optimistic, as they always think the cost to the is less than it actually is. If we have an admissible h function, this naturally transfers to the function as f never overestimates the actual cost to the best solution through n. CIS 412, UMD, 46 Important Note Study The optimal this map route of Romania. between the Note two the cities distances takes us between through cities Sibiu, and try and calculate. the Press shortest space route to between continue with the and slideshow.. Then press space to see the optimal route marked in red. The following example demonstrating the A* search pattern is taken from the course textbook (Artificial Intelligence : A Modern Approach, Russell and Norvig, Prentice Hall, 1995, pages 95-99) If you are reading this book alongside your CIS 412 notes (and this is strongly recommended) you may notice some minor differences. For example, whereas in the book the authors expand back to cities they have just come from, we ignore this in order to make the animation a little clearer. Please note that this minor change does not affect the algorithm as travelling to a city and then travelling back to where you have just come from is not going to be included in the optimal solution. One other small point about the course textbook. Figure 4.4 on page has a minor error (at least, it certainly does in the 1995 edition). The expansion of Sibiu to Oradea reads + 3 = 526. It should read = 671. Fortunately, this error makes no difference to the way the algorithm operates. CIS 412, UMD, Oradea Optimal route is (+++101) = 418 miles 118 Sibiu 99 Faragas 111 Lugoj 70 Mehadia Giurgui CIS 412, UMD, 48 8

9 A* in action Straight Line Distances to Having established the optimal path between the two towns of and we can now test the efficiency of the A* search pattern in finding the same state. Remember that the A* search pattern is the union of two evaluation functions. In the following demonstration the A* search pattern evaluates the cost of the path so far (UCS), together with an admissible heuristic function based on the shortest line distance (SLD) between between the initial state and the location, such that hsld(n) = straight line distance between n and the location. Town Fagaras Giurgiu Lugoj SLD Town Mehadai Oradea Sibiu SLD The following is table of the straight line distances between some of the major Romanian cities and and the state,. CIS 412, UMD, 49 We can use straight line distances as an admissible heuristic as they will never overestimate the cost to the. This is because there is no shorter distance between two cities than the straight line distance. Press space to continue with the slideshow. CIS 412, UMD, 50 In Once We Press actual now have begin Fagaras space expand fact, just now with is to the is arrived is see the expanded Fagaras Sibiu algorithm initial at A* we. (that node search state we look will is, look is, () of is, for not of we. we for As the really expand the this Romanian that node The lowest recognise node revealed cost with the node with lowest of cost map the reaching, that with the lowest node. featured cost lowest the As the have node cost. lowest you in but cost. found Sibiu the AND from it can value As has previous see, has the. you a of cost of the we f of can f (or ). f ). slide. lowest ). f now of state ). gsee, Press 418. value) It have Note: just we value space If is there for has keeps two can space Throughout to 0 miles. continue f. the terminate is (The to expanding to lowest any continue The cost other straight value nodes. to animation search. lower the reach for lowest search. line One cost Sibiu f. If distance (The of all you cost these from cost look nodes (and from nodes to are back reach (based in labelled is this ( over case to on the miles, with f Sibiu ) there slides from until and f(n) is you it the one (or = finds g(n) will straight is hcheaper value) 317 a see + h(n). miles, that line node, is state 366 However,we the distance and AND Fagaras, solution miles. the it from straight has This with will ) the a has returned Sibiu line lowest be gives cost using distance to of f value the by 417) the total the of from abbreviations then of A* f. value state 418. So, we search we The is of need 253 ( must to pattern f other f, = to miles. g expand now + node h ( This hmove ) state 366 to ( it make in gives miles. is to Sibiu case Fagaras Sibiu the a miles. it total Press leads notation and of Fagaras This space to 393 expand a simpler gives better miles). to expand (2) a it. solution total Press the of space 415 initial to ) has miles). to state ), continue. an move is f of Press value fact than to this the space of optimal 418 node to We solution move and therefore solution. expand to we this have Press move node it. already space and to the expand to found. first continue it. Press with space node the to slideshow. and continue. expand it. Press space to continue F= F= 449 F= F= 366 Oradea Sibiu F= 417 F= F= 393 F= F= F= 413 F= 447 F= F= 526 F= F= 671 F= F= 415 F= Fagaras (2) F= F= 418 F= F= 450 Features of an A* Search A* is optimal and complete, but it is not all good news. It can be shown that the number of nodes that are searched is still exponential to the length of the search space for most problems. This has implications not only for the time taken to perform the search but also the space required. Of these two problems the search complexity is more serious. If you examine the animation on the previous slide you will notice an interesting phenomenon. Along any path from the root, the f-cost never decreases. This is no accident. It holds true for all admissible heuristics. A heuristic for which it holds is said to exhibit monotonicity. Because A* expands the leaf nodes of lowest f, we can see that an A* search fans out from the node, adding nodes in concentric bands of increasing f-cost. These bands can be modelled as contours in the state space. CIS 412, UMD, 51 CIS 412, UMD, 52 Map of Romania showing contours at f = 3, f = 400 and f = 420, with as the state. Note: Nodes inside a given contour have f-costs lower than the contour value. Press space to continue the slideshow. Oradea Sibiu Fagaras CIS 412, UMD, 53 9

Introduction to Artificial Intelligence (G51IAI)

Introduction to Artificial Intelligence (G51IAI) Introduction to Artificial Intelligence (G51IAI) Dr Rong Qu Heuristic Searches Blind Search vs. Heuristic Searches Blind search Randomly choose where to search in the search tree When problems get large,

More information

COMP219: Artificial Intelligence. Lecture 10: Heuristic Search

COMP219: Artificial Intelligence. Lecture 10: Heuristic Search COMP219: Artificial Intelligence Lecture 10: Heuristic Search 1 Class Tests Class Test 1 (Prolog): Tuesday 8 th November (Week 7) 13:00-14:00 LIFS-LT2 and LIFS-LT3 Class Test 2 (Everything but Prolog)

More information

Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) Computer Science Department

Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) Computer Science Department Princess Nora University Faculty of Computer & Information Systems ARTIFICIAL INTELLIGENCE (CS 370D) Computer Science Department (CHAPTER-3-PART3) PROBLEM SOLVING AND SEARCH Searching algorithm Uninformed

More information

COMP9414/ 9814/ 3411: Artificial Intelligence. 5. Informed Search. Russell & Norvig, Chapter 3. UNSW c Alan Blair,

COMP9414/ 9814/ 3411: Artificial Intelligence. 5. Informed Search. Russell & Norvig, Chapter 3. UNSW c Alan Blair, COMP9414/ 9814/ 3411: Artificial Intelligence 5. Informed Search Russell & Norvig, Chapter 3. COMP9414/9814/3411 15s1 Informed Search 1 Search Strategies General Search algorithm: add initial state to

More information

Informed search algorithms

Informed search algorithms Artificial Intelligence Topic 4 Informed search algorithms Best-first search Greedy search A search Admissible heuristics Memory-bounded search IDA SMA Reading: Russell and Norvig, Chapter 4, Sections

More information

Overview. Path Cost Function. Real Life Problems. COMP219: Artificial Intelligence. Lecture 10: Heuristic Search

Overview. Path Cost Function. Real Life Problems. COMP219: Artificial Intelligence. Lecture 10: Heuristic Search COMP219: Artificial Intelligence Lecture 10: Heuristic Search Overview Last time Depth-limited, iterative deepening and bi-directional search Avoiding repeated states Today Show how applying knowledge

More information

Informed/Heuristic Search

Informed/Heuristic Search Informed/Heuristic Search Outline Limitations of uninformed search methods Informed (or heuristic) search uses problem-specific heuristics to improve efficiency Best-first A* Techniques for generating

More information

COMP219: Artificial Intelligence. Lecture 10: Heuristic Search

COMP219: Artificial Intelligence. Lecture 10: Heuristic Search COMP219: Artificial Intelligence Lecture 10: Heuristic Search 1 Class Tests Class Test 1 (Prolog): Friday 17th November (Week 8), 15:00-17:00. Class Test 2 (Everything but Prolog) Friday 15th December

More information

Chapter 3: Informed Search and Exploration. Dr. Daisy Tang

Chapter 3: Informed Search and Exploration. Dr. Daisy Tang Chapter 3: Informed Search and Exploration Dr. Daisy Tang Informed Search Definition: Use problem-specific knowledge beyond the definition of the problem itself Can find solutions more efficiently Best-first

More information

Outline. Best-first search

Outline. Best-first search Outline Best-first search Greedy best-first search A* search Heuristics Admissible Heuristics Graph Search Consistent Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing

More information

Artificial Intelligence. Informed search methods

Artificial Intelligence. Informed search methods Artificial Intelligence Informed search methods In which we see how information about the state space can prevent algorithms from blundering about in the dark. 2 Uninformed vs. Informed Search Uninformed

More information

CS:4420 Artificial Intelligence

CS:4420 Artificial Intelligence CS:4420 Artificial Intelligence Spring 2018 Informed Search Cesare Tinelli The University of Iowa Copyright 2004 18, Cesare Tinelli and Stuart Russell a a These notes were originally developed by Stuart

More information

CS 331: Artificial Intelligence Informed Search. Informed Search

CS 331: Artificial Intelligence Informed Search. Informed Search CS 331: Artificial Intelligence Informed Search 1 Informed Search How can we make search smarter? Use problem-specific knowledge beyond the definition of the problem itself Specifically, incorporate knowledge

More information

Outline. Best-first search

Outline. Best-first search Outline Best-first search Greedy best-first search A* search Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing search Genetic algorithms Constraint Satisfaction Problems

More information

Informed search. Soleymani. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016

Informed search. Soleymani. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016 Informed search CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016 Soleymani Artificial Intelligence: A Modern Approach, Chapter 3 Outline Best-first search Greedy

More information

CS 331: Artificial Intelligence Informed Search. Informed Search

CS 331: Artificial Intelligence Informed Search. Informed Search CS 331: Artificial Intelligence Informed Search 1 Informed Search How can we make search smarter? Use problem-specific knowledge beyond the definition of the problem itself Specifically, incorporate knowledge

More information

Clustering (Un-supervised Learning)

Clustering (Un-supervised Learning) Clustering (Un-supervised Learning) Partition-based clustering: k-mean Goal: minimize sum of square of distance o Between each point and centers of the cluster. o Between each pair of points in the cluster

More information

Informed search algorithms

Informed search algorithms Informed search algorithms Chapter 4, Sections 1 2 Chapter 4, Sections 1 2 1 Outline Best-first search A search Heuristics Chapter 4, Sections 1 2 2 Review: Tree search function Tree-Search( problem, fringe)

More information

Informed Search and Exploration

Informed Search and Exploration Ch. 03 p.1/47 Informed Search and Exploration Sections 3.5 and 3.6 Ch. 03 p.2/47 Outline Best-first search A search Heuristics, pattern databases IDA search (Recursive Best-First Search (RBFS), MA and

More information

Dr. Mustafa Jarrar. Chapter 4 Informed Searching. Artificial Intelligence. Sina Institute, University of Birzeit

Dr. Mustafa Jarrar. Chapter 4 Informed Searching. Artificial Intelligence. Sina Institute, University of Birzeit Lecture Notes on Informed Searching University of Birzeit, Palestine 1 st Semester, 2014 Artificial Intelligence Chapter 4 Informed Searching Dr. Mustafa Jarrar Sina Institute, University of Birzeit mjarrar@birzeit.edu

More information

Informed Search A* Algorithm

Informed Search A* Algorithm Informed Search A* Algorithm CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2018 Soleymani Artificial Intelligence: A Modern Approach, Chapter 3 Most slides have

More information

Informed search algorithms. Chapter 4

Informed search algorithms. Chapter 4 Informed search algorithms Chapter 4 Material Chapter 4 Section 1 - Exclude memory-bounded heuristic search 3 Outline Best-first search Greedy best-first search A * search Heuristics Local search algorithms

More information

Lecture 4: Informed/Heuristic Search

Lecture 4: Informed/Heuristic Search Lecture 4: Informed/Heuristic Search Outline Limitations of uninformed search methods Informed (or heuristic) search uses problem-specific heuristics to improve efficiency Best-first A* RBFS SMA* Techniques

More information

Informed Search and Exploration

Informed Search and Exploration Ch. 03b p.1/51 Informed Search and Exploration Sections 3.5 and 3.6 Nilufer Onder Department of Computer Science Michigan Technological University Ch. 03b p.2/51 Outline Best-first search A search Heuristics,

More information

Informed Search. Best-first search. Greedy best-first search. Intelligent Systems and HCI D7023E. Romania with step costs in km

Informed Search. Best-first search. Greedy best-first search. Intelligent Systems and HCI D7023E. Romania with step costs in km Informed Search Intelligent Systems and HCI D7023E Lecture 5: Informed Search (heuristics) Paweł Pietrzak [Sec 3.5-3.6,Ch.4] A search strategy which searches the most promising branches of the state-space

More information

Lecture Plan. Best-first search Greedy search A* search Designing heuristics. Hill-climbing. 1 Informed search strategies. Informed strategies

Lecture Plan. Best-first search Greedy search A* search Designing heuristics. Hill-climbing. 1 Informed search strategies. Informed strategies Lecture Plan 1 Informed search strategies (KA AGH) 1 czerwca 2010 1 / 28 Blind vs. informed search strategies Blind search methods You already know them: BFS, DFS, UCS et al. They don t analyse the nodes

More information

CS414-Artificial Intelligence

CS414-Artificial Intelligence CS414-Artificial Intelligence Lecture 6: Informed Search Algorithms Waheed Noor Computer Science and Information Technology, University of Balochistan, Quetta, Pakistan Waheed Noor (CS&IT, UoB, Quetta)

More information

Mustafa Jarrar: Lecture Notes on Artificial Intelligence Birzeit University, Chapter 3 Informed Searching. Mustafa Jarrar. University of Birzeit

Mustafa Jarrar: Lecture Notes on Artificial Intelligence Birzeit University, Chapter 3 Informed Searching. Mustafa Jarrar. University of Birzeit Mustafa Jarrar: Lecture Notes on Artificial Intelligence Birzeit University, 2018 Chapter 3 Informed Searching Mustafa Jarrar University of Birzeit Jarrar 2018 1 Watch this lecture and download the slides

More information

Artificial Intelligence CS 6364

Artificial Intelligence CS 6364 Artificial Intelligence CS 6364 Professor Dan Moldovan Section 4 Informed Search and Adversarial Search Outline Best-first search Greedy best-first search A* search Heuristics revisited Minimax search

More information

CSE 473. Chapter 4 Informed Search. CSE AI Faculty. Last Time. Blind Search BFS UC-BFS DFS DLS Iterative Deepening Bidirectional Search

CSE 473. Chapter 4 Informed Search. CSE AI Faculty. Last Time. Blind Search BFS UC-BFS DFS DLS Iterative Deepening Bidirectional Search CSE 473 Chapter 4 Informed Search CSE AI Faculty Blind Search BFS UC-BFS DFS DLS Iterative Deepening Bidirectional Search Last Time 2 1 Repeated States Failure to detect repeated states can turn a linear

More information

PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE

PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Artificial Intelligence, Computational Logic PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Lecture 3 Informed Search Sarah Gaggl Dresden, 22th April 2014 Agenda 1 Introduction 2 Uninformed Search

More information

Informed Search and Exploration for Agents

Informed Search and Exploration for Agents Informed Search and Exploration for Agents R&N: 3.5, 3.6 Michael Rovatsos University of Edinburgh 29 th January 2015 Outline Best-first search Greedy best-first search A * search Heuristics Admissibility

More information

Heuristic Search. Rob Platt Northeastern University. Some images and slides are used from: AIMA

Heuristic Search. Rob Platt Northeastern University. Some images and slides are used from: AIMA Heuristic Search Rob Platt Northeastern University Some images and slides are used from: AIMA Recap: What is graph search? Start state Goal state Graph search: find a path from start to goal what are the

More information

Outline. Informed search algorithms. Best-first search. Review: Tree search. A search Heuristics. Chapter 4, Sections 1 2 4

Outline. Informed search algorithms. Best-first search. Review: Tree search. A search Heuristics. Chapter 4, Sections 1 2 4 Outline Best-first search Informed search algorithms A search Heuristics Chapter 4, Sections 1 2 Chapter 4, Sections 1 2 1 Chapter 4, Sections 1 2 2 Review: Tree search function Tree-Search( problem, fringe)

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Informed Search and Exploration Chapter 4 (4.1 4.2) A General Search algorithm: Chapter 3: Search Strategies Task : Find a sequence of actions leading from the initial state to

More information

TDDC17. Intuitions behind heuristic search. Recall Uniform-Cost Search. Best-First Search. f(n) =... + h(n) g(n) = cost of path from root node to n

TDDC17. Intuitions behind heuristic search. Recall Uniform-Cost Search. Best-First Search. f(n) =... + h(n) g(n) = cost of path from root node to n Intuitions behind heuristic search The separation property of GRAPH-SEARCH TDDC17 Seminar III Search II Informed or Heuristic Search Beyond Classical Search Find a heuristic measure h(n) which estimates

More information

Introduction to Artificial Intelligence. Informed Search

Introduction to Artificial Intelligence. Informed Search Introduction to Artificial Intelligence Informed Search Bernhard Beckert UNIVERSITÄT KOBLENZ-LANDAU Winter Term 2004/2005 B. Beckert: KI für IM p.1 Outline Best-first search A search Heuristics B. Beckert:

More information

A.I.: Informed Search Algorithms. Chapter III: Part Deux

A.I.: Informed Search Algorithms. Chapter III: Part Deux A.I.: Informed Search Algorithms Chapter III: Part Deux Best-first search Greedy best-first search A * search Heuristics Outline Overview Informed Search: uses problem-specific knowledge. General approach:

More information

S A E RC R H C I H NG N G IN N S T S A T T A E E G R G A R PH P S

S A E RC R H C I H NG N G IN N S T S A T T A E E G R G A R PH P S LECTURE 2 SEARCHING IN STATE GRAPHS Introduction Idea: Problem Solving as Search Basic formalism as State-Space Graph Graph explored by Tree Search Different algorithms to explore the graph Slides mainly

More information

Informed Search Algorithms. Chapter 4

Informed Search Algorithms. Chapter 4 Informed Search Algorithms Chapter 4 Outline Informed Search and Heuristic Functions For informed search, we use problem-specific knowledge to guide the search. Topics: Best-first search A search Heuristics

More information

Informed search algorithms. Chapter 4, Sections 1 2 1

Informed search algorithms. Chapter 4, Sections 1 2 1 Informed search algorithms Chapter 4, Sections 1 2 Chapter 4, Sections 1 2 1 Outline Best-first search A search Heuristics Chapter 4, Sections 1 2 2 Review: Tree search function Tree-Search( problem, fringe)

More information

Artificial Intelligence: Search Part 2: Heuristic search

Artificial Intelligence: Search Part 2: Heuristic search Artificial Intelligence: Search Part 2: Heuristic search Thomas Trappenberg January 16, 2009 Based on the slides provided by Russell and Norvig, Chapter 4, Section 1 2,(4) Outline Best-first search A search

More information

Informed (heuristic) search (cont). Constraint-satisfaction search.

Informed (heuristic) search (cont). Constraint-satisfaction search. CS 1571 Introduction to AI Lecture 5 Informed (heuristic) search (cont). Constraint-satisfaction search. Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Administration PS 1 due today Report before

More information

Informed search strategies (Section ) Source: Fotolia

Informed search strategies (Section ) Source: Fotolia Informed search strategies (Section 3.5-3.6) Source: Fotolia Review: Tree search Initialize the frontier using the starting state While the frontier is not empty Choose a frontier node to expand according

More information

CS 771 Artificial Intelligence. Informed Search

CS 771 Artificial Intelligence. Informed Search CS 771 Artificial Intelligence Informed Search Outline Review limitations of uninformed search methods Informed (or heuristic) search Uses problem-specific heuristics to improve efficiency Best-first,

More information

Informed (Heuristic) Search. Idea: be smart about what paths to try.

Informed (Heuristic) Search. Idea: be smart about what paths to try. Informed (Heuristic) Search Idea: be smart about what paths to try. 1 Blind Search vs. Informed Search What s the difference? How do we formally specify this? A node is selected for expansion based on

More information

Informed search algorithms. Chapter 4

Informed search algorithms. Chapter 4 Informed search algorithms Chapter 4 Outline Best-first search Greedy best-first search A * search Heuristics Memory Bounded A* Search Best-first search Idea: use an evaluation function f(n) for each node

More information

Outline for today s lecture. Informed Search. Informed Search II. Review: Properties of greedy best-first search. Review: Greedy best-first search:

Outline for today s lecture. Informed Search. Informed Search II. Review: Properties of greedy best-first search. Review: Greedy best-first search: Outline for today s lecture Informed Search II Informed Search Optimal informed search: A* (AIMA 3.5.2) Creating good heuristic functions Hill Climbing 2 Review: Greedy best-first search: f(n): estimated

More information

Informed Search. CS 486/686 University of Waterloo May 10. cs486/686 Lecture Slides 2005 (c) K. Larson and P. Poupart

Informed Search. CS 486/686 University of Waterloo May 10. cs486/686 Lecture Slides 2005 (c) K. Larson and P. Poupart Informed Search CS 486/686 University of Waterloo May 0 Outline Using knowledge Heuristics Best-first search Greedy best-first search A* search Other variations of A* Back to heuristics 2 Recall from last

More information

TDDC17. Intuitions behind heuristic search. Best-First Search. Recall Uniform-Cost Search. f(n) =... + h(n) g(n) = cost of path from root node to n

TDDC17. Intuitions behind heuristic search. Best-First Search. Recall Uniform-Cost Search. f(n) =... + h(n) g(n) = cost of path from root node to n Intuitions behind heuristic search The separation property of GRAPH-SEARCH TDDC17 Seminar III Search II Informed or Heuristic Search Beyond Classical Search Find a heuristic measure h(n) which estimates

More information

Dr. Mustafa Jarrar. Chapter 4 Informed Searching. Sina Institute, University of Birzeit

Dr. Mustafa Jarrar. Chapter 4 Informed Searching. Sina Institute, University of Birzeit Lecture Notes, Advanced Artificial Intelligence (SCOM7341) Sina Institute, University of Birzeit 2 nd Semester, 2012 Advanced Artificial Intelligence (SCOM7341) Chapter 4 Informed Searching Dr. Mustafa

More information

CS 4700: Foundations of Artificial Intelligence

CS 4700: Foundations of Artificial Intelligence CS 4700: Foundations of Artificial Intelligence Bart Selman selman@cs.cornell.edu Informed Search Readings R&N - Chapter 3: 3.5 and 3.6 Search Search strategies determined by choice of node (in queue)

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence CSC348 Unit 3: Problem Solving and Search Syedur Rahman Lecturer, CSE Department North South University syedur.rahman@wolfson.oxon.org Artificial Intelligence: Lecture Notes The

More information

CS 520: Introduction to Artificial Intelligence. Lectures on Search

CS 520: Introduction to Artificial Intelligence. Lectures on Search CS 520: Introduction to Artificial Intelligence Prof. Louis Steinberg Lecture : uninformed search uninformed search Review Lectures on Search Formulation of search problems. State Spaces Uninformed (blind)

More information

COSC343: Artificial Intelligence

COSC343: Artificial Intelligence COSC343: Artificial Intelligence Lecture 18: Informed search algorithms Alistair Knott Dept. of Computer Science, University of Otago Alistair Knott (Otago) COSC343 Lecture 18 1 / 1 In today s lecture

More information

mywbut.com Informed Search Strategies-I

mywbut.com Informed Search Strategies-I Informed Search Strategies-I 1 3.1 Introduction We have outlined the different types of search strategies. In the earlier chapter we have looked at different blind search strategies. Uninformed search

More information

Part I. Instructor: Dr. Wei Ding. Uninformed Search Strategies can find solutions to problems by. Informed Search Strategies

Part I. Instructor: Dr. Wei Ding. Uninformed Search Strategies can find solutions to problems by. Informed Search Strategies Informed Search and Exploration Part I Instructor: Dr. Wei Ding Fall 2010 1 Motivation Uninformed Search Strategies can find solutions to problems by Systematically generating new states Testing them against

More information

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 4, 4/11/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes Today: Informed search algorithms

More information

Informed Search Algorithms

Informed Search Algorithms Informed Search Algorithms CITS3001 Algorithms, Agents and Artificial Intelligence Tim French School of Computer Science and Software Engineering The University of Western Australia 2017, Semester 2 Introduction

More information

Problem Solving: Informed Search

Problem Solving: Informed Search Problem Solving: Informed Search References Russell and Norvig, Artificial Intelligence: A modern approach, 2nd ed. Prentice Hall, 2003 (Chapters 1,2, and 4) Nilsson, Artificial intelligence: A New synthesis.

More information

Wissensverarbeitung. - Search - Alexander Felfernig und Gerald Steinbauer Institut für Softwaretechnologie Inffeldgasse 16b/2 A-8010 Graz Austria

Wissensverarbeitung. - Search - Alexander Felfernig und Gerald Steinbauer Institut für Softwaretechnologie Inffeldgasse 16b/2 A-8010 Graz Austria - Search - Alexander Felfernig und Gerald Steinbauer Institut für Softwaretechnologie Inffeldgasse 16b/2 A-8010 Graz Austria 1 References Skriptum (TU Wien, Institut für Informationssysteme, Thomas Eiter

More information

Informed search algorithms. (Based on slides by Oren Etzioni, Stuart Russell)

Informed search algorithms. (Based on slides by Oren Etzioni, Stuart Russell) Informed search algorithms (Based on slides by Oren Etzioni, Stuart Russell) Outline Greedy best-first search A * search Heuristics Local search algorithms Hill-climbing search Simulated annealing search

More information

Informed Search Methods

Informed Search Methods Informed Search Methods How can we improve searching strategy by using intelligence? Map example: Heuristic: Expand those nodes closest in as the crow flies distance to goal 8-puzzle: Heuristic: Expand

More information

ITCS 6150 Intelligent Systems. Lecture 5 Informed Searches

ITCS 6150 Intelligent Systems. Lecture 5 Informed Searches ITCS 6150 Intelligent Systems Lecture 5 Informed Searches Informed Searches We are informed (in some way) about future states and future paths We use this information to make better decisions about which

More information

TDT4136 Logic and Reasoning Systems

TDT4136 Logic and Reasoning Systems TDT4136 Logic and Reasoning Systems Chapter 3 & 4.1 - Informed Search and Exploration Lester Solbakken solbakke@idi.ntnu.no Norwegian University of Science and Technology 18.10.2011 1 Lester Solbakken

More information

Informed Search and Exploration

Informed Search and Exploration Informed Search and Exploration Chapter 4 (4.1-4.3) CS 2710 1 Introduction Ch.3 searches good building blocks for learning about search But vastly inefficient eg: Can we do better? Breadth Depth Uniform

More information

Graphs vs trees up front; use grid too; discuss for BFS, DFS, IDS, UCS Cut back on A* optimality detail; a bit more on importance of heuristics,

Graphs vs trees up front; use grid too; discuss for BFS, DFS, IDS, UCS Cut back on A* optimality detail; a bit more on importance of heuristics, Graphs vs trees up front; use grid too; discuss for BFS, DFS, IDS, UCS Cut back on A* optimality detail; a bit more on importance of heuristics, performance data Pattern DBs? General Tree Search function

More information

Problem solving and search

Problem solving and search Problem solving and search Chapter 3 Chapter 3 1 Outline Problem-solving agents Problem types Problem formulation Example problems Uninformed search algorithms Informed search algorithms Chapter 3 2 Restricted

More information

3 SOLVING PROBLEMS BY SEARCHING

3 SOLVING PROBLEMS BY SEARCHING 48 3 SOLVING PROBLEMS BY SEARCHING A goal-based agent aims at solving problems by performing actions that lead to desirable states Let us first consider the uninformed situation in which the agent is not

More information

Robot Programming with Lisp

Robot Programming with Lisp 6. Search Algorithms Gayane Kazhoyan (Stuart Russell, Peter Norvig) Institute for University of Bremen Contents Problem Definition Uninformed search strategies BFS Uniform-Cost DFS Depth-Limited Iterative

More information

DIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 19 January, 2018

DIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 19 January, 2018 DIT411/TIN175, Artificial Intelligence Chapter 3: Classical search algorithms CHAPTER 3: CLASSICAL SEARCH ALGORITHMS DIT411/TIN175, Artificial Intelligence Peter Ljunglöf 19 January, 2018 1 DEADLINE FOR

More information

Artificial Intelligence Informed search. Peter Antal

Artificial Intelligence Informed search. Peter Antal Artificial Intelligence Informed search Peter Antal antal@mit.bme.hu 1 Informed = use problem-specific knowledge Which search strategies? Best-first search and its variants Heuristic functions? How to

More information

CS 380: Artificial Intelligence Lecture #4

CS 380: Artificial Intelligence Lecture #4 CS 380: Artificial Intelligence Lecture #4 William Regli Material Chapter 4 Section 1-3 1 Outline Best-first search Greedy best-first search A * search Heuristics Local search algorithms Hill-climbing

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence hapter 1 hapter 1 1 Iterative deepening search function Iterative-Deepening-Search( problem) returns a solution inputs: problem, a problem for depth 0 to do result Depth-Limited-Search(

More information

Artificial Intelligence, CS, Nanjing University Spring, 2018, Yang Yu. Lecture 3: Search 2.

Artificial Intelligence, CS, Nanjing University Spring, 2018, Yang Yu. Lecture 3: Search 2. Artificial Intelligence, CS, Nanjing University Spring, 2018, Yang Yu Lecture 3: Search 2 http://cs.nju.edu.cn/yuy/course_ai18.ashx Previously... function Tree-Search( problem, fringe) returns a solution,

More information

Heuristic Search. Robert Platt Northeastern University. Some images and slides are used from: 1. CS188 UC Berkeley 2. RN, AIMA

Heuristic Search. Robert Platt Northeastern University. Some images and slides are used from: 1. CS188 UC Berkeley 2. RN, AIMA Heuristic Search Robert Platt Northeastern University Some images and slides are used from: 1. CS188 UC Berkeley 2. RN, AIMA Recap: What is graph search? Start state Goal state Graph search: find a path

More information

CS 4700: Foundations of Artificial Intelligence

CS 4700: Foundations of Artificial Intelligence CS 4700: Foundations of Artificial Intelligence Bart Selman selman@cs.cornell.edu Module: Informed Search Readings R&N - Chapter 3: 3.5 and 3.6 Search Search strategies determined by choice of node (in

More information

Informed search algorithms. Chapter 3 (Based on Slides by Stuart Russell, Dan Klein, Richard Korf, Subbarao Kambhampati, and UW-AI faculty)

Informed search algorithms. Chapter 3 (Based on Slides by Stuart Russell, Dan Klein, Richard Korf, Subbarao Kambhampati, and UW-AI faculty) Informed search algorithms Chapter 3 (Based on Slides by Stuart Russell, Dan Klein, Richard Korf, Subbarao Kambhampati, and UW-AI faculty) Intuition, like the rays of the sun, acts only in an inflexibly

More information

Expert Systems (Graz) Heuristic Search (Klagenfurt) - Search -

Expert Systems (Graz) Heuristic Search (Klagenfurt) - Search - Expert Systems (Graz) Heuristic Search (Klagenfurt) - Search - Institut für Softwaretechnologie Inffeldgasse 16b/2 A-8010 Graz Austria 1 References Skriptum (TU Wien, Institut für Informationssysteme,

More information

Outline for today s lecture. Informed Search I. One issue: How to search backwards? Very briefly: Bidirectional search. Outline for today s lecture

Outline for today s lecture. Informed Search I. One issue: How to search backwards? Very briefly: Bidirectional search. Outline for today s lecture Outline for today s lecture Informed Search I Uninformed Search Briefly: Bidirectional Search (AIMA 3.4.6) Uniform Cost Search (UCS) Informed Search Introduction to Informed search Heuristics 1 st attempt:

More information

Planning, Execution & Learning 1. Heuristic Search Planning

Planning, Execution & Learning 1. Heuristic Search Planning Planning, Execution & Learning 1. Heuristic Search Planning Reid Simmons Planning, Execution & Learning: Heuristic 1 Simmons, Veloso : Fall 2001 Basic Idea Heuristic Search Planning Automatically Analyze

More information

Problem Solving and Search. Geraint A. Wiggins Professor of Computational Creativity Department of Computer Science Vrije Universiteit Brussel

Problem Solving and Search. Geraint A. Wiggins Professor of Computational Creativity Department of Computer Science Vrije Universiteit Brussel Problem Solving and Search Geraint A. Wiggins Professor of Computational Creativity Department of Computer Science Vrije Universiteit Brussel What is problem solving? An agent can act by establishing goals

More information

CPS 170: Artificial Intelligence Search

CPS 170: Artificial Intelligence   Search CPS 170: Artificial Intelligence http://www.cs.duke.edu/courses/spring09/cps170/ Search Instructor: Vincent Conitzer Search We have some actions that can change the state of the world Change resulting

More information

Informed search algorithms

Informed search algorithms CS 580 1 Informed search algorithms Chapter 4, Sections 1 2, 4 CS 580 2 Outline Best-first search A search Heuristics Hill-climbing Simulated annealing CS 580 3 Review: General search function General-Search(

More information

ARTIFICIAL INTELLIGENCE. Informed search

ARTIFICIAL INTELLIGENCE. Informed search INFOB2KI 2017-2018 Utrecht University The Netherlands ARTIFICIAL INTELLIGENCE Informed search Lecturer: Silja Renooij These slides are part of the INFOB2KI Course Notes available from www.cs.uu.nl/docs/vakken/b2ki/schema.html

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Dr Ahmed Rafat Abas Computer Science Dept, Faculty of Computers and Informatics, Zagazig University arabas@zu.edu.eg http://www.arsaliem.faculty.zu.edu.eg/ Informed search algorithms

More information

Informed search algorithms. (Based on slides by Oren Etzioni, Stuart Russell)

Informed search algorithms. (Based on slides by Oren Etzioni, Stuart Russell) Informed search algorithms (Based on slides by Oren Etzioni, Stuart Russell) The problem # Unique board configurations in search space 8-puzzle 9! = 362880 15-puzzle 16! = 20922789888000 10 13 24-puzzle

More information

Informed search methods

Informed search methods Informed search methods Tuomas Sandholm Computer Science Department Carnegie Mellon University Read Section 3.5-3.7 of Russell and Norvig Informed Search Methods Heuristic = to find, to discover Heuristic

More information

Informed Search. Notes about the assignment. Outline. Tree search: Reminder. Heuristics. Best-first search. Russell and Norvig chap.

Informed Search. Notes about the assignment. Outline. Tree search: Reminder. Heuristics. Best-first search. Russell and Norvig chap. Notes about the assignment Informed Search Russell and Norvig chap. 4 If it says return True or False, return True or False, not "True" or "False Comment out or remove print statements before submitting.

More information

2006/2007 Intelligent Systems 1. Intelligent Systems. Prof. dr. Paul De Bra Technische Universiteit Eindhoven

2006/2007 Intelligent Systems 1. Intelligent Systems. Prof. dr. Paul De Bra Technische Universiteit Eindhoven test gamma 2006/2007 Intelligent Systems 1 Intelligent Systems Prof. dr. Paul De Bra Technische Universiteit Eindhoven debra@win.tue.nl 2006/2007 Intelligent Systems 2 Informed search and exploration Best-first

More information

Ar#ficial)Intelligence!!

Ar#ficial)Intelligence!! Introduc*on! Ar#ficial)Intelligence!! Roman Barták Department of Theoretical Computer Science and Mathematical Logic Uninformed (blind) search algorithms can find an (optimal) solution to the problem,

More information

Searching with Partial Information

Searching with Partial Information Searching with Partial Information Above we (unrealistically) assumed that the environment is fully observable and deterministic Moreover, we assumed that the agent knows what the effects of each action

More information

4 INFORMED SEARCH AND EXPLORATION. 4.1 Heuristic Search Strategies

4 INFORMED SEARCH AND EXPLORATION. 4.1 Heuristic Search Strategies 55 4 INFORMED SEARCH AND EXPLORATION We now consider informed search that uses problem-specific knowledge beyond the definition of the problem itself This information helps to find solutions more efficiently

More information

Informed Search and Exploration

Informed Search and Exploration Ch. 04 p.1/39 Informed Search and Exploration Chapter 4 Ch. 04 p.2/39 Outline Best-first search A search Heuristics IDA search Hill-climbing Simulated annealing Ch. 04 p.3/39 Review: Tree search function

More information

CS 343: Artificial Intelligence

CS 343: Artificial Intelligence CS 343: Artificial Intelligence Informed Search Prof. Scott Niekum University of Texas at Austin [These slides based on ones created by Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley.

More information

CSC384: Intro to Artificial Intelligence Search III

CSC384: Intro to Artificial Intelligence Search III CSC384: Intro to Artificial Intelligence Search III 4 Prolog Tutorials: T1, T2, T3, and T4 T1: Fri Sep 22 10-11am SS2127 T2: Fri Sep 22 4-5pm BA3012 T3: Fri Sep 29 10-11am SS2127 T4: Fri Sep 29 4-5pm BA3012

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Search Marc Toussaint University of Stuttgart Winter 2015/16 (slides based on Stuart Russell s AI course) Outline Problem formulation & examples Basic search algorithms 2/100 Example:

More information

Problem solving and search

Problem solving and search Problem solving and search Chapter 3 TB Artificial Intelligence Slides from AIMA http://aima.cs.berkeley.edu 1 /1 Outline Problem-solving agents Problem types Problem formulation Example problems Basic

More information

CS 343H: Artificial Intelligence

CS 343H: Artificial Intelligence CS 343H: Artificial Intelligence Lecture 4: Informed Search 1/23/2014 Slides courtesy of Dan Klein at UC-Berkeley Unless otherwise noted Today Informed search Heuristics Greedy search A* search Graph search

More information

Informed Search. Dr. Richard J. Povinelli. Copyright Richard J. Povinelli Page 1

Informed Search. Dr. Richard J. Povinelli. Copyright Richard J. Povinelli Page 1 Informed Search Dr. Richard J. Povinelli Copyright Richard J. Povinelli Page 1 rev 1.1, 9/25/2001 Objectives You should be able to explain and contrast uniformed and informed searches. be able to compare,

More information