INTRODUCTION TO HEURISTIC SEARCH
|
|
- William Lamb
- 6 years ago
- Views:
Transcription
1 INTRODUCTION TO HEURISTIC SEARCH
2 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.
3 What is NOT heuristic search? Any algorithm which cannot produce a provably correct (globally optimal) solution Greedy hill climbing Simulated annealing Genetic algorithms Gradient descent EM...
4 Overview Basics Brute force search Depth-first search Breadth-first search Heuristic search Heuristic function Best-first search (A*) Other details Conclusions
5 What is a state space search problem? State: a node in a graph Start state: where we begin our search Goal state(s): where we want to go Operators: how we move from one node to the next Typical problem: What is the minimum cost sequence of operators to move from start to a goal? What is the shortest path from start to a goal? Common variant: does there exist a path from the start to any goal?
6 Dijkstra s algorithm State: Cities in North America Start state: New York Goal state: Hollywood Operators: taking a bus, cost: bus ticket
7 Dijkstra s algorithm State: Cities in North America Start state: New York Goal state: Hollywood Operators: taking a bus, cost: bus ticket
8 Dijkstra s algorithm State: Cities in North America Start state: New York Goal state: Hollywood Operators: taking a bus, cost: bus ticket
9 Sliding tile, the most studied puzzle
10 What is an implicit state space? Observation: some state spaces are huge Problem: we cannot store all nodes Solution: define start and goals, but implicitly define all other states via operators Operator moveblankright(state) copy(state, newstate) updatecol(newstate, blank, col(state, blank)+1) updatecol(newstate, toright(state, blank), col(state, blank))
11 Standard terminology Expand. apply operators to a state (aka, node) Generate. create a state by expanding an existing one Successor. state created when expanding a node Duplicate. generate a state more than once OPEN. a sorted list of nodes which have been generated but not expanded CLOSED. a list of nodes which have been expanded
12 Standard notation: successors distance from start to node n (known) distance from start to predecessor n cost to move from node n to successor n
13 Another simple problem State: a subset of {X 0, X 1,..., X n } Start state: {} Goal state: {X 0, X 1,..., X n } Operators: Add one new X, i c(n, n ) is given as input
14 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
15 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
16 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
17 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
18 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
19 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
20 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
21 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
22 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
23 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
24 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
25 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
26 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
27 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
28 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
29 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
30 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
31 Depth-first search (DFS) Intuition: expand a node, then all of its successors, then all of its successors, etc. Solution reconstruction: pop back up the call stack Memory-efficient Easy to implement Infinite branches Not naively optimal Duplicate expansion!
32 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
33 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
34 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
35 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
36 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
37 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
38 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
39 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
40 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
41 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
42 Breadth-first search (BFS) Intuition: expand all of start s successor, then all of their successors, then all of their successors, etc. Solution reconstruction: store back pointers that can be retraced Some duplicate detection No depth problems Memory (for DD)
43 Heuristic functions A heuristic function estimates the distance from a state to the (closest) goal state. We often create heuristics by relaxing the problem.
44 Heuristic functions A heuristic function estimates the distance from a state to the (closest) goal state. We often create heuristics by relaxing the problem. Sliding tile puzzle heuristic: Manhattan distance h( ) =
45 Standard notation: node priority (known) distance from start to n heuristic estimate of the distance from n to goal estimate of the cost of a path from start to goal through n
46 Admissible heuristic functions An admissible heuristic function always underestimates the distance from a state to the goal. They are sometimes called optimistic. Theorem: The Manhattan distance heuristic function is admissible for the sliding tile puzzle.
47 Consistent heuristic functions A consistent heuristic function is admissible and satisfies that. They are sometimes called monotonic because f costs cannot decrease on a path from start to goal.
48 Depth-first branch and bound (DFBnB) Intuition: perform DFS, but calculate f(n) for each node. If f(n) is worse than some bound, prune. We have found a solution with cost 34. (over DFS): ignores parts of the search space worse than current known solution
49 Depth-first branch and bound (DFBnB) Intuition: perform DFS, but calculate f(n) for each node. If f(n) is worse than some bound, prune. We have found a solution with cost 34. We continue to search. (over DFS): ignores parts of the search space worse than current known solution
50 Depth-first branch and bound (DFBnB) Intuition: perform DFS, but calculate f(n) for each node. If f(n) is worse than some bound, prune. We have found a solution with cost 34. We continue to search. The lower bound of the node is 34. (over DFS): ignores parts of the search space worse than current known solution
51 Depth-first branch and bound (DFBnB) Intuition: perform DFS, but calculate f(n) for each node. If f(n) is worse than some bound, prune. We have found a solution with cost 34. We continue to search. The lower bound of the node is 34. Since it cannot be optimal, prune. (over DFS): ignores parts of the search space worse than current known solution
52 Best-first search (A*) Intuition: expand nodes in best-first order according to priority until expanding the goal Solution reconstruction: store back pointers that can be retraced Duplicate detection Ignores states with worse f than goal Memory (for DD) Priority queue
53 Best-first search (A*) Intuition: expand nodes in best-first order according to priority until expanding the goal Solution reconstruction: store back pointers that can be retraced Duplicate detection Ignores states with worse f than goal Memory (for DD) Priority queue
54 Best-first search (A*) Intuition: expand nodes in best-first order according to priority until expanding the goal Solution reconstruction: store back pointers that can be retraced Duplicate detection Ignores states with worse f than goal Memory (for DD) Priority queue
55 Best-first search (A*) Intuition: expand nodes in best-first order according to priority until expanding the goal Solution reconstruction: store back pointers that can be retraced Duplicate detection Ignores states with worse f than goal Memory (for DD) Priority queue
56 Best-first search (A*) Intuition: expand nodes in best-first order according to priority until expanding the goal Solution reconstruction: store back pointers that can be retraced Duplicate detection Ignores states with worse f than goal Memory (for DD) Priority queue
57 Best-first search (A*) Intuition: expand nodes in best-first order according to priority until expanding the goal Solution reconstruction: store back pointers that can be retraced Duplicate detection Ignores states with worse f than goal Memory (for DD) Priority queue
58 Best-first search (A*) Intuition: expand nodes in best-first order according to priority until expanding the goal Solution reconstruction: store back pointers that can be retraced Duplicate detection Ignores states with worse f than goal Memory (for DD) Priority queue
59 A* Theoretical properties Given an admissible heuristic h... Upon selecting goal for expansion, the shortest path has been found. Given h, no state space search strategy can prove optimality and expand fewer nodes than A*. If h is also consistent, no intermediate node will be re-expanded.
60 Terminology and data structures The function of the OPEN list is to determine the next node to expand. DFS: stack BFS: queue (naively) or hash table A*: priority queue (can also require hash table) The function of the CLOSED list is to detect nodes that have already been generated. BFS: hash table, possibly one layer at a time A*: hash table
61 Other search problems Constraint-satisfaction problems We specify conditions that goal must satisfy, but there could be some parts of the state we do not care about. Games against nature Operators are not deterministic. Under typical assumptions, these are called Markov decision processes. Multi-player games Other agents apply operators which we cannot control.
62 Conclusions Heuristic search algorithms use a heuristic function to guide a search from a start state to a goal state. A variety of search strategies can leverage the heuristic function in different ways. Depth-first Breadth-first Best-first (A*) A* has several important theoretical properties.
Route 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 informationClass Overview. Introduction to Artificial Intelligence COMP 3501 / COMP Lecture 2. Problem Solving Agents. Problem Solving Agents: Assumptions
Class Overview COMP 3501 / COMP 4704-4 Lecture 2 Prof. JGH 318 Problem Solving Agents Problem Solving Agents: Assumptions Requires a goal Assume world is: Requires actions Observable What actions? Discrete
More informationClass Overview. Introduction to Artificial Intelligence COMP 3501 / COMP Lecture 2: Search. Problem Solving Agents
Class Overview COMP 3501 / COMP 4704-4 Lecture 2: Search Prof. 1 2 Problem Solving Agents Problem Solving Agents: Assumptions Requires a goal Assume world is: Requires actions Observable What actions?
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 informationCSE 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 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 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 informationInformed 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 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 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 informationArtificial 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 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 informationChapter 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 informationLecture 9. Heuristic search, continued. CS-424 Gregory Dudek
Lecture 9 Heuristic search, continued A* revisited Reminder: with A* we want to find the best-cost (C ) path to the goal first. To do this, all we have to do is make sure our cost estimates are less than
More informationInformed 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 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 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 informationInformed 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 informationInformed 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 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 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 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 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 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 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 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 informationEE562 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 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 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 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 informationCS 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 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 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 informationNotes. Video Game AI: Lecture 5 Planning for Pathfinding. Lecture Overview. Knowledge vs Search. Jonathan Schaeffer this Friday
Notes Video Game AI: Lecture 5 Planning for Pathfinding Nathan Sturtevant COMP 3705 Jonathan Schaeffer this Friday Planning vs localization We cover planning today Localization is just mapping a real-valued
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 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 informationThe wolf sheep cabbage problem. Search. Terminology. Solution. Finite state acceptor / state space
Search The wolf sheep cabbage problem What is search? Terminology: search space, strategy Modelling Uninformed search (not intelligent ) Breadth first Depth first, some variations omplexity space and time
More informationInformed 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 informationHeuristic Search: A* CPSC 322 Search 4 January 19, Textbook 3.6 Taught by: Vasanth
Heuristic Search: A* CPSC 322 Search 4 January 19, 2011 Textbook 3.6 Taught by: Vasanth 1 Lecture Overview Recap Search heuristics: admissibility and examples Recap of BestFS Heuristic search: A* 2 Example
More informationDIT411/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 informationHeuristic (Informed) Search
Heuristic (Informed) Search (Where we try to choose smartly) R&N: Chap. 4, Sect. 4.1 3 1 Recall that the ordering of FRINGE defines the search strategy Search Algorithm #2 SEARCH#2 1. INSERT(initial-node,FRINGE)
More information2006/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 informationInformed 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 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 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 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 informationChapters 3-5 Problem Solving using Search
CSEP 573 Chapters 3-5 Problem Solving using Search First, they do an on-line search CSE AI Faculty Example: The 8-puzzle Example: The 8-puzzle 1 2 3 8 4 7 6 5 1 2 3 4 5 6 7 8 2 Example: Route Planning
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 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 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 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 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 informationArtificial 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 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 informationLecture 5 Heuristics. Last Time: A* Search
CSE 473 Lecture 5 Heuristics CSE AI Faculty Last Time: A* Search Use an evaluation function f(n) for node n. f(n) = estimated total cost of path thru n to goal f(n) = g(n) + h(n) g(n) = cost so far to
More informationLecture 3 - States and Searching
Lecture 3 - States and Searching Jesse Hoey School of Computer Science University of Waterloo January 15, 2018 Readings: Poole & Mackworth Chapt. 3 (all) Searching Often we are not given an algorithm to
More informationSearch Algorithms for Discrete Optimization Problems
Search Algorithms for Discrete Optimization Problems Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar To accompany the text ``Introduction to Parallel Computing'', Addison Wesley, 2003. 1 Topic
More informationBasic Search Algorithms
Basic Search Algorithms Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract The complexities of various search algorithms are considered in terms of time, space, and cost
More informationInformed 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 informationS 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 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 informationDr. 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 informationHeuristic Search and Advanced Methods
Heuristic Search and Advanced Methods Computer Science cpsc322, Lecture 3 (Textbook Chpt 3.6 3.7) May, 15, 2012 CPSC 322, Lecture 3 Slide 1 Course Announcements Posted on WebCT Assignment1 (due on Thurs!)
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 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 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 informationCS 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 informationCIS 192: Artificial Intelligence. Search and Constraint Satisfaction Alex Frias Nov. 30 th
CIS 192: Artificial Intelligence Search and Constraint Satisfaction Alex Frias Nov. 30 th What is AI? Designing computer programs to complete tasks that are thought to require intelligence 4 categories
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 informationDownloded from: CSITauthority.blogspot.com
[Unit : Searching] (CSC 355) Central Department of Computer Science & Information Technology Tribhuvan University 1 Searching search problem Figure below contains a representation of a map. The nodes represent
More informationInformed (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 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 informationRobot 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 informationSolving Problems: Intelligent Search
Solving Problems: Intelligent Search Instructor: B. John Oommen Chancellor s Professor Fellow: IEEE; Fellow: IAPR School of Computer Science, Carleton University, Canada The primary source of these notes
More informationInformed Search and Exploration
Artificial Intelligence Informed Search and Exploration Readings: Chapter 4 of Russell & Norvig. Best-First Search Idea: use a function f for each node n to estimate of desirability Strategy: Alwasy expand
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: 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 informationARTIFICIAL INTELLIGENCE SOLVING PROBLEMS BY SEARCHING. Chapter 3
ARTIFICIAL INTELLIGENCE SOLVING PROBLEMS BY SEARCHING Chapter 3 1 PROBLEM SOLVING We want: To automatically solve a problem We need: A representation of the problem Algorithms that use some strategy to
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 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 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 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 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 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 informationGradient Descent. 1) S! initial state 2) Repeat: Similar to: - hill climbing with h - gradient descent over continuous space
Local Search 1 Local Search Light-memory search method No search tree; only the current state is represented! Only applicable to problems where the path is irrelevant (e.g., 8-queen), unless the path is
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 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 informationSolving problems by searching
Solving problems by searching CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2017 Soleymani Artificial Intelligence: A Modern Approach, Chapter 3 Outline Problem-solving
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 informationSolving problems by searching
Solving problems by searching CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2014 Soleymani Artificial Intelligence: A Modern Approach, Chapter 3 Outline Problem-solving
More informationSolving problems by searching
Solving problems by searching Chapter 3 Some slide credits to Hwee Tou Ng (Singapore) Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms Heuristics
More informationA* optimality proof, cycle checking
A* optimality proof, cycle checking CPSC 322 Search 5 Textbook 3.6 and 3.7.1 January 21, 2011 Taught by Mike Chiang Lecture Overview Recap Admissibility of A* Cycle checking and multiple path pruning Slide
More informationArtificial Intelligence. Chapters Reviews. Readings: Chapters 3-8 of Russell & Norvig.
Artificial Intelligence Chapters Reviews Readings: Chapters 3-8 of Russell & Norvig. Topics covered in the midterm Solving problems by searching (Chap. 3) How to formulate a search problem? How to measure
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 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 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 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 informationInformed Search CS457 David Kauchak Fall 2011
Admin Informed Search CS57 David Kauchak Fall 011 Some material used from : Sara Owsley Sood and others Q3 mean: 6. median: 7 Final projects proposals looked pretty good start working plan out exactly
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 informationSolving Problems by Searching. Artificial Intelligence Santa Clara University 2016
Solving Problems by Searching Artificial Intelligence Santa Clara University 2016 Problem Solving Agents Problem Solving Agents Use atomic representation of states Planning agents Use factored or structured
More information