SEARCH SEARCH TREE. Node: State in state tree. Root node: Top of state tree

Similar documents
SEARCH TREE. Generating the children of a node

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

Uninformed search methods II.

Problem Solving Agents

Uninformed search methods II.

Better Search Improved Uninformed Search CIS 32

Solving Problems by Searching chap3 1. Problem-Solving Agents

Uninformed Search Strategies

Problem Solving as Search - I

COMP9414: Artificial Intelligence Uninformed Search

Uninformed Search (Ch )

Uninformed search methods

Uninformed search methods

CSE 3401: Intro to AI & LP Uninformed Search II

Artificial Intelligence. Uninformed Search Strategies

Uninformed Search (Ch )

CENG 466 Artificial Intelligence. Lecture 4 Solving Problems by Searching (II)

Uninformed search strategies

Search I. Tuomas Sandholm Carnegie Mellon University Computer Science Department. [Read Russell & Norvig Chapter 3]

COMP219: Artificial Intelligence. Lecture 8: Combining Search Strategies and Speeding Up

Overview. Depth Limited Search. Depth Limited Search. COMP219: Artificial Intelligence. Lecture 8: Combining Search Strategies and Speeding Up

Representation. Representation. Representation. Representation. 8 puzzle.

CSE 3402: Intro to Artificial Intelligence Uninformed Search II

CS 4649/7649 Robot Intelligence: Planning

6.034 Artificial Intelligence

Real World Search Problems. CS 331: Artificial Intelligence Uninformed Search. Simpler Search Problems. Example: Oregon. Search Problem Formulation

Introduction. AI and Searching. Simple Example. Simple Example. Now a Bit Harder. From Hammersmith to King s Cross

Transposition Table, History Heuristic, and other Search Enhancements

CSC384: Introduction to Artificial Intelligence. Search

G53CLP Constraint Logic Programming

Spider Search: An Efficient and Non-Frontier-Based Real-Time Search Algorithm

Depth-bounded Discrepancy Search

/435 Artificial Intelligence Fall 2015

CT PET-2018 Part - B Phd COMPUTER APPLICATION Sample Question Paper

Decision Trees. an Introduction

Neural Nets Using Backpropagation. Chris Marriott Ryan Shirley CJ Baker Thomas Tannahill

Planning and Acting in Partially Observable Stochastic Domains

CS472 Foundations of Artificial Intelligence. Final Exam December 19, :30pm

1.1 The size of the search space Modeling the problem Change over time Constraints... 21

Problem-Solving: A* and Beyond. CSCI 3202, Fall 2010

Robust Task Execution: Procedural and Model-based. Outline. Desiderata: Robust Task-level Execution

Advanced Search Hill climbing

SIDDHARTH INSTITUTE OF ENGINEERING & TECHNOLOGY :: PUTTUR (AUTONOMOUS) Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

Heap Sort. Lecture 35. Robb T. Koether. Hampden-Sydney College. Mon, Apr 25, 2016

CS Lecture 5. Vidroha debroy. Material adapted courtesy of Prof. Xiangnan Kong and Prof. Carolina Ruiz at Worcester Polytechnic Institute

Decision Trees. Nicholas Ruozzi University of Texas at Dallas. Based on the slides of Vibhav Gogate and David Sontag

Optimization and Search. Jim Tørresen Optimization and Search

CMPUT680 - Winter 2001

Aryeh Rappaport Avinoam Meir. Schedule automation

CS 4649/7649 Robot Intelligence: Planning

A new Decomposition Algorithm for Multistage Stochastic Programs with Endogenous Uncertainties

Evacuation Time Minimization Model using Traffic Simulation and GIS Technology

6/16/2010 DAG Execu>on Model, Work and Depth 1 DAG EXECUTION MODEL, WORK AND DEPTH

Exercise 11: Solution - Decision tree

Innovative and Robust Design. With Full Extension of Offshore Engineering and Design Experiences.

The system design must obey these constraints. The system is to have the minimum cost (capital plus operating) while meeting the constraints.

A SEMI-PRESSURE-DRIVEN APPROACH TO RELIABILITY ASSESSMENT OF WATER DISTRIBUTION NETWORKS

Algorithms and Data Structures

Planning. CS 510: Intro to AI October 19 th 2017

DESIGN AND ANALYSIS OF ALGORITHMS (DAA 2017)

Efficient Gait Generation using Reinforcement Learning

Simplicity to Control Complexity. Based on Slides by Professor Lui Sha

Dispatching Universität Karlsruhe, System Architecture Group

Incremental ARA*: An Anytime Incremental Search Algorithm For Moving Target Search. University of Southern California Singapore Management University

CENTRAL ILLINOIS ELITE VOLLEYBALL CLUB 1425 KELSEY ST. WASHINGTON, IL PH. (309) January 27th, 2019: Dear Parents and Athletes:

A Proof-Producing CSP Solver 1

Solving MINLPs with BARON. Mustafa Kılınç & Nick Sahinidis Department of Chemical Engineering Carnegie Mellon University

FIRE PROTECTION. In fact, hydraulic modeling allows for infinite what if scenarios including:

CS 4649/7649 Robot Intelligence: Planning

Methods for the Anisotropic Wavelet Packet Transform

Tokyo: Simulating Hyperpath-Based Vehicle Navigations and its Impact on Travel Time Reliability

CS 4649/7649 Robot Intelligence: Planning

ENHANCED PARKWAY STUDY: PHASE 2 CONTINUOUS FLOW INTERSECTIONS. Final Report

Running the Table: An AI for Computer Billiards

Improved Real-time Monitoring and Control of Water Supply Networks by Use of Graph Decomposition

Application of Dijkstra s Algorithm in the Evacuation System Utilizing Exit Signs

Percymon: A Pokemon Showdown Artifical Intelligence

The Usage of Propeller Tunnels For Higher Efficiency and Lower Vibration. M. Burak Şamşul

CENTRAL ILLINOIS ELITE VOLLEYBALL CLUB 1425 KELSEY ST. WASHINGTON, IL PH. (309) FEBRUARY 21st, 2018: Dear Parents and Athletes:

Modelling Today for the Future. Advanced Modelling Control Techniques

Operational Comparison of Transit Signal Priority Strategies

Critical Systems Validation

Numerical Study of the Wind Waves Effect on Air-sea Fluxes in the Yellow Sea during the Cold Wave Events

Traffic circles. February 9, 2009

Three New Methods to Find Initial Basic Feasible. Solution of Transportation Problems

COMP 406 Lecture 05. Artificial. Fiona Yan Liu Department of Computing The Hong Kong Polytechnic University

Module 3 Developing Timing Plans for Efficient Intersection Operations During Moderate Traffic Volume Conditions

Chapter 23 Traffic Simulation of Kobe-City

Bulgarian Olympiad in Informatics: Excellence over a Long Period of Time

PREDICTING the outcomes of sporting events

Pedestrian Dynamics: Models of Pedestrian Behaviour

CSC242: Intro to AI. Lecture 21

Inverting a Batting Average - an Application of Continued Fractions (Preliminary Version)

Chapter 4 (sort of): How Universal Are Turing Machines? CS105: Great Insights in Computer Science

Prof. Brian C. Williams February 23 rd, /6.834 Cognitive Robotics. based on [Kim,Williams & Abramson, IJCAI01] Outline

Ocean Fishing Fleet Scheduling Path Optimization Model Research. Based On Improved Ant Colony Algorithm

CS 4649/7649 Robot Intelligence: Planning

Which compressed air system design is right for you?

EE 364B: Wind Farm Layout Optimization via Sequential Convex Programming

KISSsoft 03/2016 Tutorial 9

Transcription:

Page 1 Page 1 Page 2 SEARCH TREE SEARCH Node: State in state tree Root node: Top of state tree Children: Nodes that can be reached from a given node in 1 step (1 operator) Expanding: Generating the children of a node Open: Node not yet expanded Closed: Node after expansion Queue: Ordered list of open nodes BLIND SEARCH: Systematic Search Depth 1st: Continue along current path looking for goal Breadth 1st: Expand all nodes at current level before progressing to next level Depth limited Search: Depth-1st + depth-limit Iterative Deepening Search: limit=0,limit=1,... USING COST: g(n)=cost from start to n Branch-and-bound (= Uniform Cost Search): Select node n with best g(n). USING HEURISTIC: h(n)=estimate cost to a goal Greedy Search: Select node n with best h(n) A*: Select node n with best f(n) =g(n)+h(n) IDA*: A* + f-cost limit. Hill-Climbing: Depth-1st exploring best h(n)first Simulated Annealing: Hill-Climbing + RandomWalk Beam Search: Breadth-1st keeping only m nodes with best h(n) s per level

Page 3 Page 2 Page 4 DEPTH 1st SEARCH DEPTH 1st (cont.) Depth limited or known beforehand 4. Else remove head of queue, expand it, place children in front of queue All solutions at same depth Any solution will do Possibly fast Large or infinite subtrees Prefer shallow solution

Page 5 Page 3 Page 6 BREADTH 1st SEARCH BREADTH 1st (Cont.) Large or infinite search tree Solution depth unknown 4. Else remove head of queue, expand it, place children at end of queue Prefer shallow solution Very wide trees Generally slow May need a lot of space

Page 7 Page 4 Page 8 MODIFICATIONS TO DEPTH/BREADTH 1ST BRANCH AND BOUND (= UNIFORM COST SEARCH) Depth limited Search: Limit the total depth of the depth 1st search. Iterative Deepening Search: Repeat depth limited search with limit 0, 1, 2, 3,... until a solution is found. 4. Else remove head of queue, Bidirectional Search: Simultaneously search forward from initial state and backward from goal state until both paths meet. expand it, place in queue, and sort entire queue with least cost-so-far nodes in front

Page 9 Page 5 Page 10 BRANCH-AND-BOUND SUMMARY BRANCH-AND-BOUND + DYNAMIC PROG. Advantages Optimal (when costs are non negative) Complete Disadvantages Can be inefficient Desire best solution Keep track of cost so far May not work with negative costs May be overly conservative Any solution will do Potential improvement 4. Else remove head of queue, expand it, place in queue, remove redundant paths: Paths that reach the same node as other paths but are more expensive, and sort entire queue with least cost-so-far nodes in front Dynamic Programming

Page 11 Page 6 Page 12 GREEDY SEARCH (= Winston s BEST 1st SEARCH) GREEDY SEARCH SUMMARY 4. Else remove head of queue, expand it, place in queue, and sort entire queue with least estimated-costto-goal nodes in front Advantages Can be very efficient Paths found are likely to be short Disadvantages Neither optimal nor complete Desire short solution When an optimal solution is required

Page 13 Page 7 Page 14 A A SUMMARY 4. Else remove head of queue, expand it, place in queue, and sort entire queue with least cost-so-far + estimated-cost-remaining nodes in front 5. If multiple paths reach a common goal, keep only lowest cost-so-far path 6. Recurse to 2 f(node) = g(node) + h(node), where f(node) = estimated total cost g(node) = cost-so-far to node h(node) = estimated-cost-remaining (heuristic). Advantages Complete Optimal, when h is an underestimate Optimally efficient among all optimal search algorithms Disadvantages Very high space complexity Desire best solution Keep track of cost so far Heuristic information available No good heuristics available Properties of h: Lower bound ( actual cost) Nonnegative

Page 15 Page 8 Page 16 HILL CLIMBING SEARCH HILL CLIMBING SUMMARY Advantages 4. Else remove head of queue, expand it, place children sorted by h(n) in front of queue Complete if backtracking is allowed (like in Winston s book) and the graph is finite Disadvantages Not optimal Depth limited or known beforehand All solutions at same depth Desire good solution Reliable estimate of remaining distance to goal Fast if good estimate If optimal solution is required Large or infinite subtrees No good estimate Difficult terrain

Page 17 Page 9 Page 18 BEAM SEARCH BEAM SEARCH SUMMARY Advantages Saves space Disadvantages 4. Else remove head of queue, expand it, place children at end of queue 5. If finishing a level, keep only w best nodes in queue 6. Recurse to 2 Neither optimal nor complete Large or infinite search tree Solution depth unknown Prefer shallow solution Possibly fast No more than wb nodes stored Can t tell which solutions to prune Prefer conservative

Page 19 Page 10 Page 20 SEARCH STRATEGIES - Completeness; Optimality; and Time and Space Complexity Search Complete? Optimal? Time Space Depth-1st N N b d bd Breadth-1st Y Y* b s b s Depth-limited N N b l bl Iter. deepening Y Y* b s bs Branch-&-bound Y Y b s b s Greedy N N b d b d A* Y Y exp exp Hill-climbing N N dep dep Beam N N ms 2m (adapted from Russell & Norvig s book) Y*: Yes, IF cost of a path is equal to its length. Otherwise No. b: branching factor s: depth of the solution d: maximum depth of the search tree l: depth limit m: beamsize exp: exponential depending on heuristic h dep: depends on heuristic h SEARCH STRATEGIES IN WINSTON S BOOK Summary Depth 1st: Continue along current path looking for goal Breadth 1st: Expand all nodes at current level before progressing to next level Hill Climbing: Like depth 1st, but explore most promising children first Beam: Like breadth 1st, but prune unpromising children Best 1st: Expand best open node regardless of its depth Branch-and-bound: Expand the least-cost-so-far node until goal reached A : Like branch-and-bound, but with heuristic information