Prof. Dechter ICS 270A Winter 2003

Slides:



Advertisements
Similar presentations
BEST FIRST SEARCH - BeFS
Advertisements

Artificial Intelligent
Announcements Course TA: Danny Kumar
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal.
Greedy best-first search Use the heuristic function to rank the nodes Search strategy –Expand node with lowest h-value Greedily trying to find the least-cost.
Blind Search1 Solving problems by searching Chapter 3.
Artificial Intelligence for Games Depth limited search Patrick Olivier
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
Searching the search space graph
UnInformed Search What to do when you don’t know anything.
Review: Search problem formulation Initial state Actions Transition model Goal state (or goal test) Path cost What is the optimal solution? What is the.
Lecture 3: Uninformed Search
Search CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Basic Problem Solving Search strategy  Problem can be solved by searching for a solution. An attempt is to transform initial state of a problem into some.
Goal-based Problem Solving Goal formation Based upon the current situation and performance measures. Result is moving into a desirable state (goal state).
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 3: Search, A*
Chapter 3 Solving problems by searching. Search We will consider the problem of designing goal-based agents in observable, deterministic, discrete, known.
Artificial Intelligence Solving problems by searching.
Lecture 3 Problem Solving through search Uninformed Search
Lecture 3: Uninformed Search
Review: Tree search Initialize the frontier using the starting state
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
Uninformed Search Chapter 3.4.
Uninformed Search Strategies
Problem solving and search
Artificial Intelligence (CS 370D)
Search Tuomas Sandholm Read Russell & Norvig Sections
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6
Uninformed Search Introduction to Artificial Intelligence
Artificial Intelligence
Russell and Norvig: Chapter 3, Sections 3.4 – 3.6
Solving problems by searching
CS 188: Artificial Intelligence Spring 2007
CS 188: Artificial Intelligence Fall 2008
Search Tuomas Sandholm Read Russell & Norvig Sections
Dijkstra’s Algorithm Run by hand Dijkstra's Algorithm (as stated in slide 68 at on the example.
Problem Solving and Searching
What to do when you don’t know anything know nothing
CSE 4705 Artificial Intelligence
EA C461 – Artificial Intelligence
COMP 8620 Advanced Topics in AI
Artificial Intelligence
Searching for Solutions
Breadth-First Searches
Tutorial 1 Uninformed Search
Problem Solving and Searching
Depth-First Searches Introduction to AI.
Principles of Computing – UFCFA3-30-1
Tree Searching.
Search Exercise Search Tree? Solution (Breadth First Search)?
BEST FIRST SEARCH -OR Graph -A* Search -Agenda Search CSE 402
Artificial Intelligence
Problem Spaces & Search
Artificial Intelligence Chapter 9 Heuristic Search
CSE 473 University of Washington
Algorithms Lecture # 29 Dr. Sohail Aslam.
Tree Searching.
Tree Searching.
Tree Searching.
UNINFORMED SEARCH -BFS -DFS -DFIS - Bidirectional
State-Space Searches.
State-Space Searches.
CMSC 471 Fall 2011 Class #4 Tue 9/13/11 Uninformed Search
State-Space Searches.
Search Strategies CMPT 420 / CMPG 720.
Supplemental slides for CSE 327 Prof. Jeff Heflin
Basic Search Methods How to solve the control problem in production-rule systems? Basic techniques to find paths through state- nets. For the moment: -
Depth-First Searches.
Presentation transcript:

Prof. Dechter ICS 270A Winter 2003 Lecture Notes 2 Prof. Dechter ICS 270A Winter 2003

Explicit Graph

Graph Theory Sates: board configurations Operators: move-blank: up, down, right, left (when possible)

Graph Theory (continued)

Breadth-First Search (BFS) Properties Solution Length: optimal Search Time: O(Bd) Memory Required: O(Bd) Drawback: require exponential space 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Iterative Deepening (DFS) Every iteration is a DFS with a depth cutoff. Iterative deepening (ID) i = 1 While no solution, do DFS from initial state S0 with cutoff i If found goal, stop and return solution, else, increment cutoff Comments: ID implements BFS with DFS Only one path in memory BFS at step i may need to keep 2i nodes in OPEN

Iterative Deepening (DFS) Time: BFS time is O(bn) B is the branching degree ID is asymptotically like BFS For b=10 d=5 d=cut-off DFS = 1+10+100,…,=111,111 IDS = 123,456 Ratio is

Bi-Directional Search

Bi-Directional Search (continued)

Breadth First Search Put the start node s on OPEN. If OPEN is empty exit with failure. Remove the first node n from OPEN and place it on CLOSED. If n is a goal node, exit successfully with the solution obtained by tracing back pointers from n to s. Otherwise, expand n, generating all its successors attach to them pointer back to n, and put them at the end of OPEN Go to step 2. For shortest cost path: 5’. Otherwise, expand n, generating all its successors attach to them pointer back to n, put them at in OPEN and order OPEN based on shortest cost partial path.

Uniform Cost Search Expand lowest-cost OPEN node (g(n)) In BFS g(n) = depth(n) Requirement g(successor)(n))  g(n)

Comparison of Algorithms