Characterization of single-agent search algorithms with generalized start and goal nodes
|
|
- Bonnie Wilkins
- 6 years ago
- Views:
Transcription
1 Characterization of single-agent search algorithms with generalized start and goal nodes Carlos Linares López Asunción Gómez-Pérez Laboratorio de Inteligencia Artificial Departamento de Inteligencia Artificial Facultad de Informática Universidad Politécnica de Madrid
2 Exposition (I) The N-Puzzle problem Discrete domain NP-hard (1986) Irregular branching factor (1998) Size of the state space: 16!/2 (1994) Heuristics: Manhattan distance (and others, 1966) Linear conflict (1992)
3 Exposition (II) Searching in graphs A Information level: +100 B C E A Infomation level: +0 B C D F E D F Continuous domain. Heuristic: euclidean distance.
4 Objectives Study of the behaviour of various one-agent search algorithms in different domains, under a computational environment which guarantees the same conditions for all of them. Consideration of the bidirectional approach (pure/perimeter) to improve unidirectional algorithms. Generalization of start and goal nodes: AND, OR, NOT.
5 Hypotheses Graph: Edge costs are constant. Positive information levels. Generalization: NOT is applied to other nodes than the start or goal node. AND is not applied to the start node. The logical formulas have to be in Skolem s normal form Heuristic functions: Always return a numerical value (not states).
6 Research (I) New perimeter search algorithms: n DFBnB (1966) RBFS (1992) DFBnBPS* t RBFPS* New bidirectional search algorithms: RBFS (1992) BRBFS* s IBRBFS* t s
7 RBFPS* RBFPS* (n,f(n),ηn, F) RBFPS *(s, +, Pd) is a complete algorithm IF f(n) > ηn THEN RETURN f(n) IF n F THEN EXIT RBFPS* RBFPS *(s, +, Pd) is IF SCS(n)= THEN RETURN + an admissible algorithm FOR ni SCS(n) Compute P(ni, ηn) = {m F g(ni) + h(ni,m)+h*(m) ηn} IF P(ni, ηn) = THEN RETURN f(n) IF f(n) < F(n) THEN F(ni) = max {F(n), f(ni)} ELSE F(ni) = f(ni) Sort ni in ascending order of F(ni) IF SCS(n) = 1 THEN F(n2)=+ WHILE (F(n1) ηn AND F(n1) < + ) F(n1) = RBFPS * (n1, F(n1), min {ηn, F(n2)}, P(n1, ηn)) Insert n1 in ascending order of F(ni) RETURN F(n ) 1
8 DFBnBPS* DFBnBPS* (n, η, F) IF n F THEN EXIT DFBnBPS * IF SCS(n)= THEN RETURN + FOR ni SCS(n) Compute P(ni, η) = {m F g(ni) + h(ni,m)+h*(m) η} IF P(ni, η) = THEN RETURN η IF f(ni) < η IF (ni F) η = f(ni) ELSE DFBnBPS* (ni, η, F) ELSE RETURN η DFBnBPS *(s, +, Pd) is a complete algorithm DFBnBPS *(s, +, Pd) is an admissible algorithm
9 BRBFS* (I) BUSCAR (n,f(n),ηn, F) IF f(n) > ηn THEN RETURN f(n) IF n F THEN EXIT BUSCAR IF SCS(n)= THEN RETURN + FOR ni SCS(n) Compute P(ni, ηn) = {m F g(ni) + h(ni,m)+h*(m) ηn} IF P(ni, ηn) = THEN Add ni to Q IF f(n) < F(n) THEN F(ni) = max {F(n), f(ni)} ELSE F(ni) = f(ni) Insert ni in ascending order of F(ni) IF SCS(n) = 1 THEN F(n2)=+ WHILE (F(n1) ηn AND F(n1) < + ) F(n1) = BUSCAR (n1, F(n1), min {ηn, F(n2)}, P(n1, ηn)) Insert n1 in ascending order of F(ni) RETURN F(n1)
10 BRBFS* (II) BRBFS* (s,t) F={t}, Q=, Π=hs (s) WHILE (Π is not a solution) Π = BUSCAR (s, Π, Π, F) Swap s and t F=Q, Q= RETURN Π BRBFS *(s, t) perform various best first searches BRBFS *(s, t) is an admissible algorithm
11 IBRBFS* IBRBFS* (s,t) Fs={s}, Ft={t}, Q=, Π=hs (s) WHILE (Π no sea solución) DO Tomar el siguiente nodo ni de Fs Πi = BUSCAR (ni,f(ni), Π, Ft) WHILE (Πi no sea un camino solución) Fs={Q}, Q=, Π=min{Πi} Intercambiar Fs y Ft RETURN Π IBRBFS *(s, t) is an admissible algorithm
12 Research (II) Generalization (I): Negation n Purpose: NOT n Do not consider the generated NOT nodes. n Technique
13 Research (III) Generalization (II): Generalization of the start node Disjunction: t Depth-first: s1 Breadth-first: s2 sn Insert at the end of the queue all the successors of the expanded nodes. Complexity overload: Purpose: (s1 or s2 or sn) Brute force: Handle the stack as a queue. Heuristic search: Create a unique fictitious node. Constant. Technique
14 Research (IV) Generalization (III): Generalization of the goal state (I): t1 t2 t3 t4 t5 Define the goal state with the aid of a binary tree. t6 O O s Y t1 Purpose: (t1 and t2) or (t3 and t4) or (t5 and t6) Y t2 t3 Y t4 t5 Technique t6
15 Research (V) Generalization (IV): Generalization of the goal state (II): Disjunction: t1 t2 tn Reformulate the heuristic function. t1 t2 tn s Purpose: (t1 or t2 or tn) Technique
16 Research (VI) Generalization (V): Generalization of the goal state (III): Conjunction: t1 t2 tn Reformulate the heuristic function : Number of evaluations: C Ni i=1 C s i =1 Purpose: (t1 and t2 and tn) Number of min/max operations: N i C Technique
17 Research (VII) Search Algorithms Library: Components: Manager: Unidirectional, bidirectional and perimeter search algorithms. Generic definition of nodes. Perimeter handling and binary trees. Statistics handling (steps, triggers and limits). Provides mechanisms for: Running tests under the same conditions (fair comparisons). Programming any type of cost function (e.g., multiobjective search). Defining any domain. Design: UML. Programming: C++ and STL.
18 SAL - Manager Bidirectional Search Algorithms General solver Base class Provides general services Unidirectional and Perimeter Search Algorithms
19 SAL - Nodes Basic definition of node Information about nodes
20 SAL - Perimeter Perimeter implementation Unique location of the perimeter Perimeter Set of perimeter nodes Perimeter nodes along with their information
21 SAL - Binary Trees General solver Binary tree Provide means for handling any logical description of start and goal nodes.
22 SAL - Statistics Manager Provide access to this general services Base definition of stats
23 Using SAL Basic definition of node Specialized definition of node It implements the domain New cost type (Bidimensional)
24 Tests Algorithms tested: Unidirectional search: IDA*, RBFS and DFBnB. Bidirectional search: BRBFS* and IBRBFS*. Perimeter search: BIDA*, RBFPS* and DFBnBPS*. Contrast hypothesis over the mean for comparing the time spent or the number of nodes generated/expanded. Test sets: Richard Korf s 100 test set. 48 cases randomly generated in graphs with 6000, 13500, and nodes with information levels: +0, +50 and Sun Ultra 5 (SunOS 5.8), 450 Mhz, 256 Mb RAM and 512Mb Swap.
25 RBFS - 15-Puzzle
26 IDA* - 15-Puzzle
27 BIDA* - 15-Puzzle
28 RBFPS* - 15-Puzzle
29 BRBFS* - 15-Puzzle
30 IDA* - Graph
31 RBFS - Graph
32 DFBnB - Graph
33 BRBFS* - Graph
34 IBRBFS* - Graph
35 Theoretical considerations (I) Overall distribution (1998): 15 Puzle Graph
36 Theoretical considerations (II) Depth of the search tree, d (1988): Minimum number of edges: Minimum number of edges: h n, m 3h n, m 2 id max 15 Puzle Graph The precisition of the heuristic distance matters.
37 Theoretical considerations (III) Variability of the cost function (1989): Manhattan distance: h n,t h ni,t =1, n i SCS n Cost of the edges: Likelihood of selecting the closer node as a neighbor: 2γ b, γ= 2 πn i c n, ni =1 Variability: {0, +2} 15 Puzle Graph
38 Conclusions (I) RBFS(I): 15-Puzle: it does not generate less nodes than IDA*. Graph: it generates less nodes than IDA*, the more nodes IDA* generates, the greater the difference is.
39 Conclusions (II) RBFS(II): The number of nodes generated or the time spent can be successfully explained by means of the number of F updates.
40 Conclusions (III) Algorithms that use thresolds: 15-Puzle: good performance, but DFBnB. Graph: Bad performance. IDA* (39) #h t #g IDA* (20) Media , , ,256 Media Varianza 4, ,376 1, Varianza 1, RBFS (21) #h t #g RBFS (42) #h ,3 t 37, ,8 #g ,65 2, #h t #g Media ,45 810, ,45 Media ,047 35, ,047 Varianza 5, ,21 1, Varianza 1, ,062 1, Puzle Graph
41 Conclusions (IV) Bidirectional search algorithms (I): 15-Puzle: High memory-demanding. Far better in the easiest instances and worse in the most difficult ones.
42 Conclusions (V) Bidirectional search algorithms(ii): Graph: Excellent performance in all cases: BRBFS* does not lead to a significance improvement (hypothesis contrast with significance level 0,05). IBRBFS* solves 41 out of the 48 cases: It solves 95,23% more cases than RBFS. It generates 99,14% less nodes than RBFS. It consumes 78,32% less time than RBFS. It performs 99,14% less F updates than RBFS. It performs 45,43% less heuristic evaluations than RBFS.
43 Conclusions (VI) Perimeter search: 15-Puzle: Excellent performance, but DFBnBPS*. Graph: Very bad performance. Generation of useless perimeter nodes (1993).
44 Future work (I) Mathematical characterization: Time spent and nodes generated (1985, 1998). Estimation of the best perimeter depth (1994). Unidirectional search: Research into new selective search algorithms (1998). Resolution of problems type-not. Bidirectional search: Generalization of start and goal nodes multidirectional search Parallel implementation. Perimeter search: Lazy evaluation.
45 Future work (II) Improvement of the heuristic estimation (1984, 1996, 1997). Time-dependent search: Edges can be traversed without spending time. Each edge consumes a different amount of time for being traversed. It is possible to wait any amount of time before traversing an edge.
46 Future work (III) Learning methods (1981, 1985). Voice recognition (1983). Job scheduling (1983). Artificial vision (1983). Onthologies. Clustering. Neural networks. Genetic algorithms. Search algorithms are reasoning models
INTRODUCTION 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 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 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 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 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 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 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 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 informationPotential Midterm Exam Questions
Potential Midterm Exam Questions 1. What are the four ways in which AI is usually viewed? Which of the four is the preferred view of the authors of our textbook? 2. What does each of the lettered items
More informationImproving the Efficiency of Depth-First Search by Cycle Elimination
Improving the Efficiency of Depth-First Search by Cycle Elimination John F. Dillenburg and Peter C. Nelson * Department of Electrical Engineering and Computer Science (M/C 154) University of Illinois Chicago,
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 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 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 informationFinding Optimal Solutions to the Graph Partitioning Problem with Heuristic Search
Finding Optimal Solutions to the Graph Partitioning Problem with Heuristic Search Ariel Felner Department of Information Systems Engineering, Ben-Gurion University of the Negev Beer-Sheva, 85104, Israel
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 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 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 informationMidterm Examination CS540-2: Introduction to Artificial Intelligence
Midterm Examination CS540-2: Introduction to Artificial Intelligence March 15, 2018 LAST NAME: FIRST NAME: Problem Score Max Score 1 12 2 13 3 9 4 11 5 8 6 13 7 9 8 16 9 9 Total 100 Question 1. [12] Search
More informationHeuristic Evaluation Function. 11. Evaluation. Issues. Admissible Evaluations. Jonathan Schaeffer
Heuristic Evaluation Function. Evaluation Jonathan Schaeffer jonathan@cs.ualberta.ca www.cs.ualberta.ca/~jonathan Most of the magic in a single-agent searcher is in the evaluation function To obtain an
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 informationCS 416, Artificial Intelligence Midterm Examination Fall 2004
CS 416, Artificial Intelligence Midterm Examination Fall 2004 Name: This is a closed book, closed note exam. All questions and subquestions are equally weighted. Introductory Material 1) True or False:
More informationBest-First Search: The A* Algorithm
August, 07 Search is.. A (preferably methodical) process for finding something. Searching for: pre-existing entities (information, objects, etc.) strategies for creating/designing entities. Examples: Web
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 informationTowards a benchmark of the ODE API methods for accessing ontologies In the WebODE platform
Towards a benchmark of the ODE API methods for accessing ontologies In the WebODE platform Oscar Corcho, Raúl García-Castro, Asunción Gómez-Pérez (Ontology Group, Departamento de Inteligencia Artificial,
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 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 informationHeuristic Search. CPSC 470/570 Artificial Intelligence Brian Scassellati
Heuristic Search CPSC 470/570 Artificial Intelligence Brian Scassellati Goal Formulation 200 Denver 300 200 200 Chicago 150 200 Boston 50 1200 210 75 320 255 Key West New York Well-defined function that
More informationME/CS 132: Advanced Robotics: Navigation and Vision
ME/CS 132: Advanced Robotics: Navigation and Vision Lecture #5: Search Algorithm 1 Yoshiaki Kuwata 4/12/2011 Lecture Overview Introduction Label Correcting Algorithm Core idea Depth-first search Breadth-first
More informationARTIFICIAL INTELLIGENCE LECTURE 3. Ph. D. Lect. Horia Popa Andreescu rd year, semester 5
ARTIFICIAL INTELLIGENCE LECTURE 3 Ph. D. Lect. Horia Popa Andreescu 2012-2013 3 rd year, semester 5 The slides for this lecture are based (partially) on chapter 4 of the Stuart Russel Lecture Notes [R,
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 informationIntelligent Agents. Foundations of Artificial Intelligence. Problem-Solving as Search. A Simple Reflex Agent. Agent with Model and Internal State
Intelligent s Foundations of Artificial Intelligence Problem-Solving as Search S7 Fall 007 Thorsten Joachims : Anything that can be viewed as perceiving its environment through sensors and acting upon
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 informationSolving the Sokoban Problem (Artificial Intelligence 11)
Solving the Sokoban Problem (Artificial Intelligence 11) M. Dorst, M. Gerontini, A. Marzinotto, R. Pana October 14, 2011 Matthijs Dorst 1985-02-05 dorst@kth.se Maria Gerontini 1988-01-26 mger@kth.se Radu-Mihai
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 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 informationExample: Map coloring
Today s s lecture Local Search Lecture 7: Search - 6 Heuristic Repair CSP and 3-SAT Solving CSPs using Systematic Search. Victor Lesser CMPSCI 683 Fall 2004 The relationship between problem structure and
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 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 informationA4B36ZUI - Introduction to ARTIFICIAL INTELLIGENCE https://cw.fel.cvut.cz/wiki/courses/
A4B36ZUI - Introduction to ARTIFICIAL INTELLIGENCE https://cw.fel.cvut.cz/wiki/courses/ Michal Pechoucek & Jiri Klema Department of Computer Science Czech Technical University in Prague In parts based
More informationInformed search algorithms
Informed search algorithms This lecture topic Chapter 3.5-3.7 Next lecture topic Chapter 4.1-4.2 (Please read lecture topic material before and after each lecture on that topic) Outline Review limitations
More informationArtificial Intelligence
Artificial Intelligence Lesson 4 Local Search Local improvement, no paths Look around at states in the local neighborhood and choose the one with the best value Pros: Quick (usually linear) Sometimes enough
More informationAcknowledgements. Outline
Acknowledgements Heuristic Search for Planning Sheila McIlraith University of Toronto Fall 2010 Many of the slides used in today s lecture are modifications of slides developed by Malte Helmert, Bernhard
More informationPAC-MAN is one of the most popular game
SCHOOL OF DATA SCIENCE 1 Assignment1. Search in Pacman Project Report Shihan Ran - 15307130424 Abstract This project is aimed at designing a intelligent Pacman agent that is able to find optimal paths
More informationInformed Search Lecture 5
Lecture 5 How can we exploit problem-specific knowledge to find solutions more efficiently? Where does this knowledge come from and under what conditions is it useful? 1 Agenda Review: Uninformed Search
More informationCS301 - Data Structures Glossary By
CS301 - Data Structures Glossary By Abstract Data Type : A set of data values and associated operations that are precisely specified independent of any particular implementation. Also known as ADT Algorithm
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 informationUninformed Search Methods. Informed Search Methods. Midterm Exam 3/13/18. Thursday, March 15, 7:30 9:30 p.m. room 125 Ag Hall
Midterm Exam Thursday, March 15, 7:30 9:30 p.m. room 125 Ag Hall Covers topics through Decision Trees and Random Forests (does not include constraint satisfaction) Closed book 8.5 x 11 sheet with notes
More informationParallel Algorithms. Single Agent Search COMP 3705/4705. Parallel Search - Simple approaches. Dovetailing
Parallel Algorithms Single Agent Search COMP 3705/4705 Prof. Nathan Sturtevant Lecture 15 For many years it looked like our problems would be solved by increases in processor speed Moore s law predicts
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 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 informationA4B36ZUI - Introduction ARTIFICIAL INTELLIGENCE
A4B36ZUI - Introduction to ARTIFICIAL INTELLIGENCE https://cw.fel.cvut.cz/wiki/courses/a4b33zui/start Michal Pechoucek, Branislav Bosansky, Jiri Klema & Olga Stepankova Department of Computer Science Czech
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 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 informationArtificial Intelligence
Artificial Intelligence Dr. Malek Mouhoub Department of Computer Science University of Regina Fall 2005 Malek Mouhoub, CS820 Fall 2005 1 3. State-Space Search 3. State-Space Search Graph Theory Uninformed
More informationAbout the Author. Dependency Chart. Chapter 1: Logic and Sets 1. Chapter 2: Relations and Functions, Boolean Algebra, and Circuit Design
Preface About the Author Dependency Chart xiii xix xxi Chapter 1: Logic and Sets 1 1.1: Logical Operators: Statements and Truth Values, Negations, Conjunctions, and Disjunctions, Truth Tables, Conditional
More informationAlgorithm Efficiency & Sorting. Algorithm efficiency Big-O notation Searching algorithms Sorting algorithms
Algorithm Efficiency & Sorting Algorithm efficiency Big-O notation Searching algorithms Sorting algorithms Overview Writing programs to solve problem consists of a large number of decisions how to represent
More informationChapter 11 Search Algorithms for Discrete Optimization Problems
Chapter Search Algorithms for Discrete Optimization Problems (Selected slides) A. Grama, A. Gupta, G. Karypis, and V. Kumar To accompany the text Introduction to Parallel Computing, Addison Wesley, 2003.
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
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 informationIntegrating Machine Learning in Parallel Heuristic Search
From: Proceedings of the Eleventh International FLAIRS Conference. Copyright 1998, AAAI (www.aaai.org). All rights reserved. Integrating Machine Learning in Parallel Heuristic Search R. Craig Varnell Stephen
More informationAlgorithm Analysis and Design
Algorithm Analysis and Design Dr. Truong Tuan Anh Faculty of Computer Science and Engineering Ho Chi Minh City University of Technology VNU- Ho Chi Minh City 1 References [1] Cormen, T. H., Leiserson,
More information1 Introduction and Examples
1 Introduction and Examples Sequencing Problems Definition A sequencing problem is one that involves finding a sequence of steps that transforms an initial system state to a pre-defined goal state for
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 informationSpezielle Themen der Künstlichen Intelligenz
Spezielle Themen der Künstlichen Intelligenz 2. Termin: Constraint Satisfaction Dr. Stefan Kopp Center of Excellence Cognitive Interaction Technology AG A Recall: Best-first search Best-first search =
More informationBest-First Search Minimizing Space or Time. IDA* Save space, take more time
Best-First Search Minimizing Space or Time IDA* Save space, take more time IDA*-1 A* space complexity» What does the space complexity of A* depend upon? IDA*-2 A* space complexity 2» What does the space
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 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 informationInformed search algorithms
Informed search algorithms This lecture topic Chapter 3.5-3.7 Next lecture topic Chapter 4.1-4.2 (Please read lecture topic material before and after each lecture on that topic) Outline Review limitations
More informationBranch & Bound (B&B) and Constraint Satisfaction Problems (CSPs)
Branch & Bound (B&B) and Constraint Satisfaction Problems (CSPs) Alan Mackworth UBC CS 322 CSP 1 January 25, 2013 P&M textbook 3.7.4 & 4.0-4.2 Lecture Overview Recap Branch & Bound Wrap up of search module
More informationInformed search algorithms
Informed search algorithms This lecture topic Chapter 3.5-3.7 Next lecture topic Chapter 4.1-4.2 (Please read lecture topic material before and after each lecture on that topic) Outline Review limitations
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 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 informationAdministrative. Local Search!
Administrative Local Search! CS311 David Kauchak Spring 2013 Assignment 2 due Tuesday before class Written problems 2 posted Class participation http://www.youtube.com/watch? v=irhfvdphfzq&list=uucdoqrpqlqkvctckzqa
More informationN-Queens problem. Administrative. Local Search
Local Search CS151 David Kauchak Fall 2010 http://www.youtube.com/watch?v=4pcl6-mjrnk Some material borrowed from: Sara Owsley Sood and others Administrative N-Queens problem Assign 1 grading Assign 2
More informationPlanning Techniques for Robotics Search Algorithms: Multi-goal A*, IDA*
6-350 Planning Techniques for Robotics Search Algorithms: Multi-goal A*, IDA* Maxim Likhachev Robotics Institute Agenda A* with multiple goals Iterative Deepening A* (IDA*) 2 Support for Multiple Goal
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. Topic
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 informationCSE 373 Autumn 2010: Midterm #1 (closed book, closed notes, NO calculators allowed)
Name: Email address: CSE 373 Autumn 2010: Midterm #1 (closed book, closed notes, NO calculators allowed) Instructions: Read the directions for each question carefully before answering. We may give partial
More informationEffective use of memory in linear space best first search
Effective use of memory in linear space best first search Marko Robnik-Šikonja University of Ljubljana, Faculty of Electrical Engineering and Computer Science, Tržaška 5, 00 Ljubljana, Slovenia e-mail:
More informationPrincess 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 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 informationChapter 2 Classical algorithms in Search and Relaxation
Chapter 2 Classical algorithms in Search and Relaxation Chapter 2 overviews topics on the typical problems, data structures, and algorithms for inference in hierarchical and flat representations. Part
More informationA Re-examination of Limited Discrepancy Search
A Re-examination of Limited Discrepancy Search W. Ken Jackson, Morten Irgens, and William S. Havens Intelligent Systems Lab, Centre for Systems Science Simon Fraser University Burnaby, B.C., CANADA V5A
More informationBreadth-first heuristic search
Artificial Intelligence 170 (2006) 385 408 www.elsevier.com/locate/artint Breadth-first heuristic search Rong Zhou, Eric A. Hansen Department of Computer Science and Engineering, Mississippi State University,
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 informationDepartment of Computer Science Admission Test for PhD Program. Part I Time : 30 min Max Marks: 15
Department of Computer Science Admission Test for PhD Program Part I Time : 0 min Max Marks: 5 Each Q carries marks. ¼ mark will be deducted for every wrong answer. Part II of only those candidates will
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 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 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 informationUninformed Search Strategies
Uninformed Search Strategies Alan Mackworth UBC CS 322 Search 2 January 11, 2013 Textbook 3.5 1 Today s Lecture Lecture 4 (2-Search1) Recap Uninformed search + criteria to compare search algorithms - Depth
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 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 informationAI: Week 2. Tom Henderson. Fall 2014 CS 5300
AI: Week 2 Tom Henderson Fall 2014 What s a Problem? Initial state Actions Transition model Goal Test Path Cost Does this apply to: Problem: Get A in CS5300 Solution: action sequence from initial to goal
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 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 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 informationTime complexity of iterative-deepening-a
Artificial Intelligence 129 (2001) 199 218 Time complexity of iterative-deepening-a Richard E. Korf a,, Michael Reid b, Stefan Edelkamp c a Computer Science Department, University of California, Los Angeles,
More informationLocal Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )
Local Search and Optimization Chapter 4 Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) 1 2 Outline Local search techniques and optimization Hill-climbing
More informationLocal Search and Optimization Chapter 4. Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld )
Local Search and Optimization Chapter 4 Mausam (Based on slides of Padhraic Smyth, Stuart Russell, Rao Kambhampati, Raj Rao, Dan Weld ) 1 2 Outline Local search techniques and optimization Hill-climbing
More informationCS 380/480 Foundations of Artificial Intelligence Winter 2007 Assignment 2 Solutions to Selected Problems
CS 380/480 Foundations of Artificial Intelligence Winter 2007 Assignment 2 Solutions to Selected Problems 1. Search trees for the state-space graph given below: We only show the search trees corresponding
More information