Chapter S:IV. IV. Informed Search
|
|
- Amanda Stanley
- 6 years ago
- Views:
Transcription
1 Chapter S:IV IV. Informed Search Best-First Search Best-First Search for State-Space Graphs Cost Functions for State-Space Graphs Evaluation of State-Space Graphs Algorithm A* BF* Variants Hybrid Strategies S:IV-110 Informed Search STEIN/LETTMANN
2 BF* Variants For trees G: Breadth-first search is a special case of A*, where h = 0 and c(n, n ) = 1 for all successors n of n. S:IV-111 Informed Search STEIN/LETTMANN
3 BF* Variants For trees G: Breadth-first search is a special case of A*, where h = 0 and c(n, n ) = 1 for all successors n of n. s Node on OPEN 1 1 Node on CLOSED Solved rest problem S:IV-112 Informed Search STEIN/LETTMANN
4 BF* Variants For trees G: Breadth-first search is a special case of A*, where h = 0 and c(n, n ) = 1 for all successors n of n. 1 f = 0 s 1 Node on OPEN Node on CLOSED Solved rest problem f = 1 f = f = 2 f = 2 f = 2 f = 2 f = 3 S:IV-113 Informed Search STEIN/LETTMANN
5 BF* Variants For trees G: Breadth-first search is a special case of A*, where h = 0 and c(n, n ) = 1 for all successors n of n. f = 0 s Node on OPEN 1 1 Node on CLOSED f = 1 f = 1 Solved rest problem f = 2 f = 2 f = 2 f = 2 f = 3 Proof (sketch) 1. g(n) defines the depth of n (consider path from n to s). 2. f(n) = g(n). 3. Breadth-first search the depth difference of nodes on OPEN is Assumption: Let n 1, n 2 be on OPEN, having a larger depth difference: f(n 2 ) f(n 1 ) > For the direct predecessor n 0 of n 2 holds: f(n 0 ) = f(n 2 ) 1 > f(n 1 ). 6. n 1 must have been expanded before n 0 (consider minimization of f under A*). 7. n 1 must have been deleted from OPEN. Contradiction to 4. S:IV-114 Informed Search STEIN/LETTMANN
6 BF* Variants For trees G: Uniform-cost search is a special case of A*, where h = 0. Proof (sketch) See lab class. S:IV-115 Informed Search STEIN/LETTMANN
7 BF* Variants For trees G: Depth-first search is a special case of Z*, where f(n ) = f(n) 1, f(s) = 0, for all successors n of n. S:IV-116 Informed Search STEIN/LETTMANN
8 BF* Variants For trees G: Depth-first search is a special case of Z*, where f(n ) = f(n) 1, f(s) = 0, for all successors n of n. s Node on OPEN -1-1 Node on CLOSED Solved rest problem S:IV-117 Informed Search STEIN/LETTMANN
9 BF* Variants For trees G: Depth-first search is a special case of Z*, where f(n ) = f(n) 1, f(s) = 0, for all successors n of n. -1 f = 0 s -1 Node on OPEN Node on CLOSED Solved rest problem f = -1 f = f = -2 f = -2 f = -3 S:IV-118 Informed Search STEIN/LETTMANN
10 BF* Variants For trees G: Depth-first search is a special case of Z*, where f(n ) = f(n) 1, f(s) = 0, for all successors n of n. f = 0 s Node on OPEN -1-1 Node on CLOSED f = -1 f = -1 Solved rest problem f = -2 f = -2 f = -3 Proof (sketch) 1. f(n ) < f(n) n was inserted on OPEN after n. f(n ) f(n) n was inserted on OPEN after n. 2. Depth-first search the most recently inserted node on OPEN is expanded. 3. Let n 2 be the most recently inserted node on OPEN. 4. Assumption: Let n 1 have been expanded before n 2 f(n 1 ) f(n 2 ). 5. f(n 1 ) < f(n 2 ) (consider minimization of f under Z*). 6. n 1 was inserted on OPEN after n n 2 is not the most recently inserted node on OPEN. Contradiction to 3. S:IV-119 Informed Search STEIN/LETTMANN
11 BF* Variants OPEN List Restriction: Hill-Climbing (HC) Hill-climbing is an informed, irrevocable search strategy. HC characteristics: local or greedy optimization: take the direction of steepest ascend (sometimes: descend) never look back : alternatives are not remembered no OPEN/CLOSED lists usually low computational effort a strategy that is often applied by humans s s γ γ S:IV-120 Informed Search STEIN/LETTMANN
12 BF* Variants Algorithm: Input: Output: HC s. Start node representing the initial problem. successors(n). Returns the successors of node n. (n). Predicate that is True if n is a goal node. f(n). Evaluation function for a node n. A goal node or the symbol Fail. S:IV-121 Informed Search STEIN/LETTMANN
13 Hill-Climbing [ DFS] [BT] Algorithm: Input: Output: HC s. Start node representing the initial problem. successors(n). Returns the successors of node n. (n). Predicate that is True if n is a goal node. f(n). Evaluation function for a node n. A goal node or the symbol Fail. HC(s, successors,, f) 1. n = s; 2. n opt = s; 3. LOOP 4. IF (n) THEN RETURN(n); 5. FOREACH n IN successors(n) DO // Expand n. add_backpointer(n, n); IF (f(n ) > f(n opt )) THEN n opt = n ; // Remember optimum successor. ENDDO 6. IF (n opt = n) THEN RETURN(Fail); // We could not improve. ELSE n = n opt ; // Continue with the best successor. 7. ENDLOOP S:IV-122 Informed Search STEIN/LETTMANN
14 BF* Variants HC Discussion HC issue: The first property of a systematic control strategy, Consider all objects in S., is violated by hill-climbing if no provisions are made. The forecast of the evaluation function (cost function, merit function) may be at least sometimes wrong and misguiding the search. Search will probably terminate at a local optimum. Alternative paths are not considered since each step is irrevocable. S:IV-123 Informed Search STEIN/LETTMANN
15 BF* Variants HC Discussion HC issue: The first property of a systematic control strategy, Consider all objects in S., is violated by hill-climbing if no provisions are made. The forecast of the evaluation function (cost function, merit function) may be at least sometimes wrong and misguiding the search. Search will probably terminate at a local optimum. Alternative paths are not considered since each step is irrevocable. Workaround: Perform multiple restarts (e.g. random-restart hill climbing). Workaround issue: The second property of a systematic control strategy, Consider each object in S only once., is violated if no provisions are made. S:IV-124 Informed Search STEIN/LETTMANN
16 BF* Variants HC Discussion (continued) Hill-climbing can be the favorite strategy in certain situations: (a) We are given a highly informative evaluation function to control search. (b) The operators are commutative. Commutativity is given, if all operators are independent of each other. The application of an operator will 1. neither prohibit the applicability of any other operator, 2. nor modify the outcome of its application. Example: Expansion of the nodes in a complete graph. S:IV-125 Informed Search STEIN/LETTMANN
17 Remarks: Given commutativity, an irrevocable search strategy can be applied without hesitation: finding the optimum may be postponed but is never prohibited. Keywords: greedy algorithm, greedy strategy, matroid Given commutativity, hill-climbing can be considered a systematic strategy. Typically, hill-climbing is operationalized as an informed strategy, i.e., information about the goal (or about a concept to reach the goal) is exploited. If such external or look-ahead information is not exploited, hill-climbing must be considered an uninformed strategy. Q. What could be a provision to avoid a violation of the second property of a systematic control strategy? S:IV-126 Informed Search STEIN/LETTMANN
18 BF* Variants OPEN List Restriction: Best-First Beam Search [Rich & Knight 1991] Characteristics: Best-first search is used with an OPEN list of limited size k. If OPEN exceeds its size limit, nodes with worst f-values are discarded until size limit is adhered to. Operationalization: 1. A cleanup_closed function is needed to prevent CLOSED from growing uncontrollably. S:IV-127 Informed Search STEIN/LETTMANN
19 Remarks: For k = 1 this is identical to an hill-climbing search. In breadth-first beam search [Lowerre 1976] all (at most) k nodes of the current level are expanded and only the best k of all these successors are kept and used for the next level. S:IV-128 Informed Search STEIN/LETTMANN
20 Hybrid Strategies Spectrum of Search Strategies The search strategies Hill-climbing irrevocable decisions, consideration of newest alternatives Informed backtracking tentative decisions, consideration of newest alternatives Best-first search tentative decisions, consideration of all alternatives form the extremal points within the spectrum of search strategies, based on the following dimensions: R Recovery. How many previously suspended alternatives (nodes) are reconsidered after finding a dead end? S Scope. How many alternatives (nodes) are considered for each expansion? S:IV-129 Informed Search STEIN/LETTMANN
21 Hybrid Strategies Spectrum of Search Strategies The search strategies Hill-climbing irrevocable decisions, consideration of newest alternatives Informed backtracking tentative decisions, consideration of newest alternatives Best-first search tentative decisions, consideration of all alternatives form the extremal points within the spectrum of search strategies, based on the following dimensions: R Recovery. How many previously suspended alternatives (nodes) are reconsidered after finding a dead end? S Scope. How many alternatives (nodes) are considered for each expansion? S:IV-130 Informed Search STEIN/LETTMANN
22 Hybrid Strategies Spectrum of Search Strategies Scope: Amount of alternatives considered for each expansion S Consideration of all alternatives Consideration of only newest alternatives Irrevocable decisions Tentative decisions R Recovery: Amount of suspended alternatives reconsidered in dead end situations The large scope of best-first search requires a high memory load. This load can be reduced by mixing it with backtracking. S:IV-131 Informed Search STEIN/LETTMANN
23 Hybrid Strategies Spectrum of Search Strategies Scope: Amount of alternatives considered for each expansion S Best-First Search Consideration of all alternatives Hill-Climbing Consideration of only newest alternatives Irrevocable decisions Tentative decisions Backtracking R Recovery: Amount of suspended alternatives reconsidered in dead end situations The large scope of best-first search requires a high memory load. This load can be reduced by mixing it with backtracking. S:IV-132 Informed Search STEIN/LETTMANN
24 Hybrid Strategies Spectrum of Search Strategies Scope: Amount of alternatives considered for each expansion S Best-First Search Consideration of all alternatives Hill-Climbing Consideration of only newest alternatives Irrevocable decisions Tentative decisions Backtracking R Recovery: Amount of suspended alternatives reconsidered in dead end situations The large scope of best-first search requires a high memory load. This load can be reduced by mixing it with backtracking. S:IV-133 Informed Search STEIN/LETTMANN
25 Remarks: Recall that the memory consumption of best-first search is an (asymptotically) exponential function of the search depth. Hill-climbing is the most efficient strategy, but its effectiveness (solution quality) can only be guaranteed for problems that can be solved with a greedy approach. Informed backtracking requires not as much memory as best-first search, but usually needs more time as its scope is limited. Without a highly informed heuristic h, the degeneration of best-first strategies down to a uniform-cost search is typical and should be expected as the normal case. S:IV-134 Informed Search STEIN/LETTMANN
26 Hybrid Strategies Strategy 1: BF at Top s Characteristics: Best-first search is applied at the top of the search space graph. Backtracking is applied at the bottom of the search space graph. Operationalization: 1. Best-first search is applied until a memory allotment of size M 0 is exhausted. 2. Then backtracking starts with a most promising node n on OPEN. 3. If backtracking fails, it restarts with the next most promising OPEN node. S:IV-135 Informed Search STEIN/LETTMANN
27 Hybrid Strategies Strategy 2: BF at Bottom s d 0 Characteristics: Backtracking is applied at the top of the search space graph. Best-first search is applied at the bottom of the search space graph. Operationalization: 1. Backtracking is applied until the search depth bound d 0 is reached. 2. Then best-first search starts with the node at depth d If best-first search fails, it restarts with the next node at depth d 0 found by backtracking. S:IV-136 Informed Search STEIN/LETTMANN
28 Remarks: The depth bound d 0 in Strategy 2 must be chosen carefully in order to avoid that the best-first search does not run out of memory. Hence, this strategy is more involved than Strategy 1 where the switch between best-first search and backtracking is triggered by the exhausted memory. If a sound depth bound d 0 is available, Strategy 2 (best-first search at bottom) is usually superior to Strategy 1 (best-first search at top). Q. Why? S:IV-137 Informed Search STEIN/LETTMANN
29 Hybrid Strategies Strategy 3: Extended Expansion s Characteristics: Best-first search acts locally to generate a restricted number of promising nodes. Informed depth-first search acts globally, using best-first as an extended node expansion. Operationalization: 1. An informed depth-first search selects the nodes n for expansion. 2. But a best-first search with a memory allotment of size M 0 is used to expand n. 3. The nodes on OPEN are returned to the depth-first search as direct successors of n. S:IV-138 Informed Search STEIN/LETTMANN
30 Hybrid Strategies Strategy 3: Extended Expansion s Characteristics: Best-first search acts locally to generate a restricted number of promising nodes. Informed depth-first search acts globally, using best-first as an extended node expansion. Operationalization: 1. An informed depth-first search selects the nodes n for expansion. 2. But a best-first search with a memory allotment of size M 0 is used to expand n. 3. The nodes on OPEN are returned to the depth-first search as direct successors of n. S:IV-139 Informed Search STEIN/LETTMANN
31 Remarks: Strategy 3 is an informed depth-first search whose node expansion is operationalized via a memory-restricted best-first search. Q. What is the asymptotic memory consumption of Strategy 3 in relation to the search depth? S:IV-140 Informed Search STEIN/LETTMANN
32 Hybrid Strategies Strategy 4: IDA* [Korf 1985] Characteristics: Depth-first search is used in combination with an iterative deepening approach for f-values. Nodes are considered only if their f-values do not exceed a given threshold. Operationalization: 1. limit is initialized with f(s). 2. In depth-first search, only nodes are considered with f(n) limit. 3. If depth-first search fails, limit is increased to the minimum cost of all f-values that exceeded the current threshold and depth-first search is rerun. S:IV-141 Informed Search STEIN/LETTMANN
33 Remarks: IDA* always finds a cheapest solution path if the heuristic is admissible, or in other words never overestimates the actual cost to a goal node. IDA* uses space linear in the length of a cheapest solution. IDA* expands the same number of nodes, asymptotically, as A* in an exponential tree search. S:IV-142 Informed Search STEIN/LETTMANN
34 Hybrid Strategies Strategy 5: Focal Search [Ibaraki 1978] Characteristics: An informed depth-first search is used as basic strategy. Nodes are selected from newly generated nodes and the best nodes encountered so far. Operationalization: The informed depth-first search expands the cheapest node n from its list of alternatives. For the next expansion, it chooses from the newly generated nodes and the k best nodes (without n) from the previous alternatives. S:IV-143 Informed Search STEIN/LETTMANN
35 Remarks: For k = 0 this is identical to an informed depth-first search. For k = this is identical to a best-first search. Memory consumption (without proof): O(b d k+1 ), where b denotes the branching degree and d the search depth. An advantage of Strategy 5 is that its memory consumption can be controlled via the single parameter k. Differences to beam search: In focal search no nodes are discarded. Therefore, focal search will never miss a solution. In best-first beam search the OPEN list is of limited size. S:IV-144 Informed Search STEIN/LETTMANN
36 Hybrid Strategies Strategy 6: Staged Search [Nilson 1971] s Characteristics: Best-first search acts locally to generate a restricted number of promising nodes. Hill-climbing acts globally, but by retaining a set of nodes. Operationalization: 1. Best-first search is applied until a memory allotment of size M 0 is exhausted. 2. Then only the cheapest OPEN nodes (and their pointer-paths) are retained. 3. Best-first search continues until Step 1. is reached again. S:IV-145 Informed Search STEIN/LETTMANN
37 Remarks: Staged search can be considered as a combination of best-first search and hill-climbing. While a pure hill-climbing discards all nodes except one, staged search discards all nodes except a small subset. Staged search addresses the needs of extreme memory restrictions and tight runtime bounds. Recall that the Strategies 1-5 are complete with regard to recovery, but that Strategy 6, Hill Climbing, and Best-First Beam Search are not. S:IV-146 Informed Search STEIN/LETTMANN
Chapter S:II (continued)
Chapter S:II (continued) II. Basic Search Algorithms Systematic Search Graph Basics State Space Search Depth-First Search Backtracking Breadth-First Search Uniform-Cost Search S:II-60 Basic Search Algorithms
More informationChapter S:II (continued)
Chapter S:II (continued) II. Basic Search Algorithms Systematic Search Graph Theory Basics State Space Search Depth-First Search Backtracking Breadth-First Search Uniform-Cost Search AND-OR Graph Basics
More information4 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 informationChapter S:II. II. Basic Search Algorithms
Chapter S:II II. Basic Search Algorithms Systematic Search Graph Search Basics Depth-First Search Backtracking Breadth-First Search Uniform-Cost Search S:II-1 Basic Search Algorithms STEIN/LETTMANN 1998-2017
More informationProblem Solving & Heuristic Search
190.08 Artificial 2016-Spring Problem Solving & Heuristic Search Byoung-Tak Zhang School of Computer Science and Engineering Seoul National University 190.08 Artificial (2016-Spring) http://www.cs.duke.edu/courses/fall08/cps270/
More informationArtificial 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 informationArtificial Intelligence
Artificial Intelligence Information Systems and Machine Learning Lab (ISMLL) Tomáš Horváth 10 rd November, 2010 Informed Search and Exploration Example (again) Informed strategy we use a problem-specific
More informationEfficient memory-bounded search methods
Efficient memory-bounded search methods Mikhail Simin Arjang Fahim CSCE 580: Artificial Intelligence Fall 2011 Dr. Marco Voltorta Outline of The Presentation Motivations and Objectives Background - BFS
More informationA.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 informationArtificial Intelligence
Artificial Intelligence Information Systems and Machine Learning Lab (ISMLL) Tomáš Horváth 16 rd November, 2011 Informed Search and Exploration Example (again) Informed strategy we use a problem-specific
More informationChapter S:V. V. Formal Properties of A*
Chapter S:V V. Formal Properties of A* Properties of Search Space Graphs Auxiliary Concepts Roadmap Completeness of A* Admissibility of A* Efficiency of A* Monotone Heuristic Functions S:V-1 Formal Properties
More informationInformed 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 informationmywbut.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 informationSearch Algorithms. Uninformed Blind search. Informed Heuristic search. Important concepts:
Uninformed Search Search Algorithms Uninformed Blind search Breadth-first uniform first depth-first Iterative deepening depth-first Bidirectional Branch and Bound Informed Heuristic search Greedy search,
More informationOutline. 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 informationInformed 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 information3 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 informationHeuristic (Informed) Search
Heuristic (Informed) Search (Where we try to choose smartly) R&N: Chap., Sect..1 3 1 Search Algorithm #2 SEARCH#2 1. INSERT(initial-node,Open-List) 2. Repeat: a. If empty(open-list) then return failure
More informationAnnouncements. Today s Menu
Announcements 1 Today s Menu Finish up (Chapter 9) IDA, IDA* & RBFS Search Efficiency 2 Related Algorithms Bi-Directional Search > Breadth-First may expand less nodes bidirectionally than unidirectionally
More informationInformed 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 informationInformed Search. Xiaojin Zhu Computer Sciences Department University of Wisconsin, Madison
Informed Search Xiaojin Zhu jerryzhu@cs.wisc.edu Computer Sciences Department University of Wisconsin, Madison [Based on slides from Andrew Moore http://www.cs.cmu.edu/~awm/tutorials ] slide 1 Main messages
More informationToday s s lecture. Lecture 3: Search - 2. Problem Solving by Search. Agent vs. Conventional AI View. Victor R. Lesser. CMPSCI 683 Fall 2004
Today s s lecture Search and Agents Material at the end of last lecture Lecture 3: Search - 2 Victor R. Lesser CMPSCI 683 Fall 2004 Continuation of Simple Search The use of background knowledge to accelerate
More informationLecture 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 informationCOMP9414: Artificial Intelligence Informed Search
COMP9, Wednesday March, 00 Informed Search COMP9: Artificial Intelligence Informed Search Wayne Wobcke Room J- wobcke@cse.unsw.edu.au Based on slides by Maurice Pagnucco Overview Heuristics Informed Search
More informationCOMP9414/ 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 informationCS 4700: Artificial Intelligence
CS 4700: Foundations of Artificial Intelligence Fall 2017 Instructor: Prof. Haym Hirsh Lecture 7 Extra Credit Opportunity: Lecture Today 4:15pm Gates G01 Learning to See Without a Teacher Phillip Isola
More informationCOMP9414: Artificial Intelligence Informed Search
COMP9, Monday 9 March, 0 Informed Search COMP9: Artificial Intelligence Informed Search Wayne Wobcke Room J- wobcke@cse.unsw.edu.au Based on slides by Maurice Pagnucco Overview Heuristics Informed Search
More informationInformed 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 informationLast time: Problem-Solving
Last time: Problem-Solving Problem solving: Goal formulation Problem formulation (states, operators) Search for solution Problem formulation: Initial state??? 1 Last time: Problem-Solving Problem types:
More informationOutline. 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 informationLecture 4: Search 3. Victor R. Lesser. CMPSCI 683 Fall 2010
Lecture 4: Search 3 Victor R. Lesser CMPSCI 683 Fall 2010 First Homework 1 st Programming Assignment 2 separate parts (homeworks) First part due on (9/27) at 5pm Second part due on 10/13 at 5pm Send homework
More informationUninformed Search Methods
Uninformed Search Methods Search Algorithms Uninformed Blind search Breadth-first uniform first depth-first Iterative deepening depth-first Bidirectional Branch and Bound Informed Heuristic search Greedy
More informationInformed/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 informationSearching 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 informationSearch : Lecture 2. September 9, 2003
Search 6.825: Lecture 2 September 9, 2003 1 Problem-Solving Problems When your environment can be effectively modeled as having discrete states and actions deterministic, known world dynamics known initial
More informationLecture 2: Fun with Search. Rachel Greenstadt CS 510, October 5, 2017
Lecture 2: Fun with Search Rachel Greenstadt CS 510, October 5, 2017 Reminder! Project pre-proposals due tonight Overview Uninformed search BFS, DFS, Uniform-Cost, Graph-Search Informed search Heuristics,
More informationSearching. Assume goal- or utilitybased. Next task to achieve is to determine the best path to the goal
Searching Assume goal- or utilitybased agents: state information ability to perform actions goals to achieve Next task to achieve is to determine the best path to the goal CSC384 Lecture Slides Steve Engels,
More informationArtificial Intelligence (part 4c) Strategies for State Space Search. (Informed..Heuristic search)
Artificial Intelligence (part 4c) Strategies for State Space Search (Informed..Heuristic search) Search Strategies (The Order..) Uninformed Search breadth-first depth-first iterative deepening uniform-cost
More informationInformed 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 informationAr#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 informationBlind (Uninformed) Search (Where we systematically explore alternatives)
Blind (Uninformed) Search (Where we systematically explore alternatives) R&N: Chap. 3, Sect. 3.3 5 Slides from Jean-Claude Latombe at Stanford University (used with permission) Simple Problem-Solving-Agent
More informationWissensverarbeitung. - 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 informationINTRODUCTION TO HEURISTIC SEARCH
INTRODUCTION TO HEURISTIC SEARCH What is heuristic search? Given a problem in which we must make a series of decisions, determine the sequence of decisions which provably optimizes some criterion. What
More informationARTIFICIAL 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 informationSet 3: Informed Heuristic Search. ICS 271 Fall 2017 Kalev Kask
Set 3: Informed Heuristic Search ICS 271 Fall 2017 Kalev Kask Basic search scheme We have 3 kinds of states explored (past) only graph search frontier (current) unexplored (future) implicitly given Initially
More informationAr#ficial)Intelligence!!
Introduc*on! Ar#ficial)Intelligence!! Roman Barták Department of Theoretical Computer Science and Mathematical Logic We know how to use heuristics in search BFS, A*, IDA*, RBFS, SMA* Today: What if the
More informationSRI VIDYA COLLEGE OF ENGINEERING & TECHNOLOGY REPRESENTATION OF KNOWLEDGE PART A
UNIT II REPRESENTATION OF KNOWLEDGE PART A 1. What is informed search? One that uses problem specific knowledge beyond the definition of the problem itself and it can find solutions more efficiently than
More informationITCS 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 informationCPS 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 informationExpert 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 informationInformed Search. CS 486/686: Introduction to Artificial Intelligence Fall 2013
Informed Search CS 486/686: Introduction to Artificial Intelligence Fall 2013 1 Outline Using knowledge Heuristics Bestfirst search Greedy bestfirst search A* search Variations of A* Back to heuristics
More informationDIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 23 January, 2018
DIT411/TIN175, Artificial Intelligence Chapters 3 4: More search algorithms CHAPTERS 3 4: MORE SEARCH ALGORITHMS DIT411/TIN175, Artificial Intelligence Peter Ljunglöf 23 January, 2018 1 TABLE OF CONTENTS
More informationInformed 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 informationCS 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 informationBlind (Uninformed) Search (Where we systematically explore alternatives)
Blind (Uninformed) Search (Where we systematically explore alternatives) R&N: Chap. 3, Sect. 3.3 5 1 Simple Problem-Solving-Agent Agent Algorithm 1. s 0 sense/read initial state 2. GOAL? select/read goal
More informationIntroduction to Intelligent Systems
Problem Solving by Search Objectives Well-Defined Problems Tree search Uninformed search: BFS, DFS, DLS, and IDS Heuristic search: GBFS and A* Reference Russell & Norvig: Chapter 3 Y. Xiang, CIS 3700,
More informationTDDC17. 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 informationAdvanced A* Improvements
Advanced A* Improvements 1 Iterative Deepening A* (IDA*) Idea: Reduce memory requirement of A* by applying cutoff on values of f Consistent heuristic function h Algorithm IDA*: 1. Initialize cutoff to
More informationRoute planning / Search Movement Group behavior Decision making
Game AI Where is the AI Route planning / Search Movement Group behavior Decision making General Search Algorithm Design Keep a pair of set of states: One, the set of states to explore, called the open
More informationState Spaces
Unit-2: CONTENT: Introduction to Search: Searching for solutions, Uninformed search strategies, Informed search strategies, Local search algorithms and optimistic problems, Adversarial Search, Search for
More informationArtificial 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 informationInformed search methods
CS 2710 Foundations of AI Lecture 5 Informed search methods Milos Hauskrecht milos@pitt.edu 5329 Sennott Square Announcements Homework assignment 2 is out Due on Tuesday, September 19, 2017 before the
More informationCS 188: Artificial Intelligence. Recap Search I
CS 188: Artificial Intelligence Review of Search, CSPs, Games DISCLAIMER: It is insufficient to simply study these slides, they are merely meant as a quick refresher of the high-level ideas covered. You
More informationProblem Solving and Search
Artificial Intelligence Problem Solving and Search Dae-Won Kim School of Computer Science & Engineering Chung-Ang University Outline Problem-solving agents Problem types Problem formulation Example problems
More informationmywbut.com Informed Search Strategies-II
Informed Search Strategies-II 1 3.3 Iterative-Deepening A* 3.3.1 IDA* Algorithm Iterative deepening A* or IDA* is similar to iterative-deepening depth-first, but with the following modifications: The depth
More informationDr. 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 informationCS 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 informationOutline. Informed Search. Recall: Uninformed Search. An Idea. Heuristics Informed search techniques More on heuristics Iterative improvement
Outline Informed Search ECE457 Applied Artificial Intelligence Fall 2007 Lecture #3 Heuristics Informed search techniques More on heuristics Iterative improvement Russell & Norvig, chapter 4 Skip Genetic
More informationInformed State Space Search B4B36ZUI, LS 2018
Informed State Space Search B4B36ZUI, LS 2018 Branislav Bošanský, Martin Schaefer, David Fiedler, Jaromír Janisch {name.surname}@agents.fel.cvut.cz Artificial Intelligence Center, Czech Technical University
More informationHW#1 due today. HW#2 due Monday, 9/09/13, in class Continue reading Chapter 3
9-04-2013 Uninformed (blind) search algorithms Breadth-First Search (BFS) Uniform-Cost Search Depth-First Search (DFS) Depth-Limited Search Iterative Deepening Best-First Search HW#1 due today HW#2 due
More informationArtificial Intelligence Informed search. Peter Antal Tadeusz Dobrowiecki
Artificial Intelligence Informed search Peter Antal antal@mit.bme.hu Tadeusz Dobrowiecki tade@mit.bme.hu A.I. 9/17/2018 1 Informed = use problem-specific knowledge Which search strategies? Best-first search
More informationFoundations of AI. 4. Informed Search Methods. Heuristics, Local Search Methods, Genetic Algorithms. Wolfram Burgard & Bernhard Nebel
Foundations of AI 4. Informed Search Methods Heuristics, Local Search Methods, Genetic Algorithms Wolfram Burgard & Bernhard Nebel Contents Best-First Search A* and IDA* Local Search Methods Genetic Algorithms
More informationSearch. CS 3793/5233 Artificial Intelligence Search 1
CS 3793/5233 Artificial Intelligence 1 Basics Basics State-Space Problem Directed Graphs Generic Algorithm Examples Uninformed is finding a sequence of actions that achieve a goal from an initial state.
More informationOutline 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 informationDownloaded from ioenotes.edu.np
Chapter- 3: Searching - Searching the process finding the required states or nodes. - Searching is to be performed through the state space. - Search process is carried out by constructing a search tree.
More informationWeek 4 Lecture Notes Part 1 Blind Search cont. and Informed Search
Week 4 Lecture Notes Part 1 Blind Search cont. and Informed Search Created by Nicholas Collins (s4291997) and Nicholas Mayer (s4289230) Admin Assignment 1 is due 9 September, not 4 September as it says
More informationCS 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 informationFoundations of AI. 4. Informed Search Methods. Heuristics, Local Search Methods, Genetic Algorithms
Foundations of AI 4. Informed Search Methods Heuristics, Local Search Methods, Genetic Algorithms Luc De Raedt and Wolfram Burgard and Bernhard Nebel Contents Best-First Search A* and IDA* Local Search
More informationInformed search algorithms Michal Pěchouček, Milan Rollo. Department of Cybernetics Czech Technical University in Prague
Informed search algorithms Michal Pěchouček, Milan Rollo Department of Cybernetics Czech Technical University in Prague http://cw.felk.cvut.cz/doku.php/courses/ae3b33kui/start precommended literature ::
More informationArtificial Intelligence
Artificial Intelligence Lesson 1 1 About Lecturer: Prof. Sarit Kraus TA: Galit Haim: haimga@cs.biu.ac.il (almost) All you need can be found on the course website: http://u.cs.biu.ac.il/~haimga/teaching/ai/
More informationInformed 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 informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science Artificial Intelligence Fall, 2010
MSSHUSETTS INSTITUTE OF TEHNOLOY epartment of Electrical Engineering and omputer Science 6.0 rtificial Intelligence Fall, 00 Search Me! Recitation, Thursday September Prof. ob erwick. ifference between
More informationPart 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 informationHeuristic Search. Heuristic Search. Heuristic Search. CSE 3401: Intro to AI & LP Informed Search
CSE 3401: Intro to AI & LP Informed Search Heuristic Search. Required Readings: Chapter 3, Sections 5 and 6, and Chapter 4, Section 1. In uninformed search, we don t try to evaluate which of the nodes
More informationCS 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 informationArtificial Intelligence p.1/49. n-queens. Artificial Intelligence p.2/49. Initial state: the empty board or a board with n random
Example: n-queens Put n queens on an n n board with no two queens on the same row, column, or diagonal A search problem! State space: the board with 0 to n queens Initial state: the empty board or a board
More informationInformed Search and Exploration
Informed Search and Exploration Berlin Chen 2005 Reference: 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach, Chapter 4 2. S. Russell s teaching materials AI - Berlin Chen 1 Introduction
More informationSolving Problems by Searching
INF5390 Kunstig intelligens Solving Problems by Searching Roar Fjellheim Outline Problem-solving agents Example problems Search programs Uninformed search Informed search Summary AIMA Chapter 3: Solving
More informationSet 2: State-spaces and Uninformed Search. ICS 271 Fall 2015 Kalev Kask
Set 2: State-spaces and Uninformed Search ICS 271 Fall 2015 Kalev Kask You need to know State-space based problem formulation State space (graph) Search space Nodes vs. states Tree search vs graph search
More informationTDDC17. 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 informationGraph and Heuristic Search. Lecture 3. Ning Xiong. Mälardalen University. Agenda
Graph and Heuristic earch Lecture 3 Ning iong Mälardalen University Agenda Uninformed graph search - breadth-first search on graphs - depth-first search on graphs - uniform-cost search on graphs General
More informationInformed 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 informationSearch: Advanced Topics and Conclusion
Search: Advanced Topics and Conclusion CPSC 322 Lecture 8 January 24, 2007 Textbook 2.6 Search: Advanced Topics and Conclusion CPSC 322 Lecture 8, Slide 1 Lecture Overview 1 Recap 2 Branch & Bound 3 A
More informationSolving Problems by Searching
Solving Problems by Searching Berlin Chen 2004 Reference: 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach. Chapter 3 1 Introduction Problem-Solving Agents vs. Reflex Agents Problem-solving
More informationDFS. Depth-limited Search
DFS Completeness? No, fails in infinite depth spaces or spaces with loops Yes, assuming state space finite. Time complexity? O(b m ), terrible if m is much bigger than d. can do well if lots of goals Space
More informationArtificial Intelligence
Artificial Intelligence CS482, CS682, MW 1 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis, sushil@cse.unr.edu, http://www.cse.unr.edu/~sushil Informed Search Best First Search A*
More informationMustafa 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 informationInformed 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 informationCMU-Q Lecture 2: Search problems Uninformed search. Teacher: Gianni A. Di Caro
CMU-Q 15-381 Lecture 2: Search problems Uninformed search Teacher: Gianni A. Di Caro RECAP: ACT RATIONALLY Think like people Think rationally Agent Sensors? Actuators Percepts Actions Environment Act like
More informationSolving Problems by Searching
INF5390 Kunstig intelligens Sony Vaio VPC-Z12 Solving Problems by Searching Roar Fjellheim Outline Problem-solving agents Example problems Search programs Uninformed search Informed search Summary AIMA
More information