Other course stuff. CSCI 599: Coordinated Mobile Robotics Prof. Nora Ayanian

Size: px
Start display at page:

Download "Other course stuff. CSCI 599: Coordinated Mobile Robotics Prof. Nora Ayanian"

Transcription

1 Other course stuff CSCI 599: Coordinated Mobile Robotics Prof. Nora Ayanian

2 Syllabus Change $ Grading:$$ $ %$of$final$grade$ Homework$ 0%$ Exercise$$Evaluation$ 5%$ Proposal$Presentation$evaluations$you$write$ 5%$ Evaluations$by$your$classmates$of$your$project$presentations$ 5%$ Online Participation Paper$reviews$ 0%$ Class$Participation$ 5%$ Class$Project$ 40%$ 00%$ Syllabus and reading list to be posted by the evening Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics

3 Exercise : Paper Assignment Preliminary details posted by this evening Make sure you evaluate reading list Which papers are you most interested in? Being assigned these readings is your own responsibility Papers MUST be assigned by the end of class! Your evaluation must include: Which papers are your responsibility? How were the papers assigned? How did the class organize? Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 4

4 Lecture : Discrete Planning CSCI 599: Coordinated Mobile Robotics Prof. Nora Ayanian

5 Planning Formulation State x in state space X X is countable, but mostly finite Actions u applied at x produce x according to f State transition equation: x =f (x,u) Action space U(x), all actions that can be applied from x U = [ U(x) Set of goal states Initial state x xx X G X Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 6

6 State transition graph The set of vertices à state space X. Directed edge from x to x exists in the graph if and only if (iff) there exists (E) 9 an action u U(x) such that (s.t.) x =f (x,u). Initial state and goal set are special vertices in the graph. Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 7

7 Autonomous Recycling Plant Transition Graph / Finite State Machine [Kress-Gazit, Ayanian, Pappas, Kumar, CASE, 008]! Sort recyclables into rooms by composition.! 8

8 Transition Graph Finite State Machine Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 9

9 Forward Search Unvisited, Dead, or Alive States Initially only x is alive How do we sort Q? How does Q terminate? FORWARD SEARCH Q.Insert(x I )andmarkx I as visited while Q not empty do 3 x Q.GetF irst() 4 if x X G 5 return SUCCESS 6 forall u U(x) 7 x f(x, u) 8 if x not visited 9 Mark x as visited 0 Q.Insert(x ) else Resolve duplicate x 3 return FAILURE How can we produce a plan and not just report that a solution exists? Some searches require a cost for each state, which may need to be updated if the state is revisited Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 0

10 Search Types Breadth First: (e.g. FIFO) Frontier grows uniformly, all k-length plans exhausted before k+ plans are considered Running time O( V + E ) V: vertices, E: edges Depth First: (e.g. LIFO) Search dives quickly into the graph, investigate longer plans early Actions applied how they are defined; Risk wasting time Not systematic for infinite X Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics

11 Dijkstra s Algorithm Single-source shortest paths in a graph Edges associated with nonnegative action cost l(e); total cost is sum of edge costs Q sorted according to cost-to-come C : X! [0, ] C * (x) is the optimal cost-to-come from x, from summing edge costs over all possible paths from x to x Cost is computed incrementally: each time x is generated a cost is computed C (x )=C * (x)+l(e) Once x is dead we know it can t be reached with lower cost Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics

12 A* Algorithm Heuristic-based search from a source to a goal C (x) : cost-to-come from x to x G (x) : cost-to-go from x to a state in X G Can t know G* in advance, so underestimate For (i,j) to (i,j ) then i i + j j works The better the estimate, the faster the result MUST be an underestimate Same as Dijkstra but Q is sorted by C (x 0 )+Ĝ (x 0 ) Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 3

13 Best first search & Iterative deepening Best First Search: Q sorted by estimate of optimal cost-to-go Not always optimal In general: Fewest vertices are explored, faster run time Worst case results are worse than A * ID: Converts DFS into a systematic approach Find all states with distance k, if you don t reach the goal, discard and find all states with distance k+; repeat Used for large branching factor Combines DFS space efficiency with BFS completeness Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 4

14 Anytime Heuristic Searches Main Idea: Find a solution quickly, and incrementally improve it as you get more time Finding an optimal path may take a long time, but a suboptimal solution can be found quickly Useful for problem-solving under varying or uncertain time constraints because they have a solution ready whenever they are stopped Quality of solution improves with additional computation time Method: Weight the heuristic by ε. The first solution won t exceed the optimal by a factor greater than +ε E. A. Hansen and R. Zhou (007) "Anytime Heuristic Search", Journal of Artificial Intelligence Research, volume 8, pages Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 5

15 Anytime Search Example Example: Newton-Raphson Method: f 0 (x) =x x = 43 f(x) =x 43 f(x 0 ) x = x 0 f 0 (x 0 ) = f(x ) x = x f 0 (x ) = = 6.6 =.40 f(x ) x 3 = x f 0 (x ) = = f(x 3 ) x 4 = x 3 f 0 (x 3 ) = = You d keep more than 3 decimal places though Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 6

16 Discrete Optimal Planning K-step plan: sequence of K actions Given K,x I, we can derive a sequence of states with f : (x,x,...,x K+ ) Initially x = x I Subsequent states X is finite x k+ = f(x k,u k ) K stages, the exact length of a plan K =(u,u,...,u K ) L stage-additive cost functional, final stage F =K+ L( K )= KX 0, xf X l(x k,u k )+l F (x K ) l F (x K )= G, otherwise k= Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 7

17 Optimal Fixed-Length Plans Principle of optimality: Portions of optimal plans are themselves optimal Iteratively compute optimal cost-to-go or cost-tocome functions over the state space Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 8

18 Backward value iteration Cost that accumulates from stage k to F under optimal plan: Optimal cost-to-go for boundary condition k=f Consider an algorithm that makes K passes over X, each time computing G k from G k +, as k ranges from F to. st iteration: G k(x k )= min u k,...,u K G F (x F )=l F (x F ) G F (x F )=l F (x F ) ( X K ) l(x i,u i )+l F (x F ) i=k nd iteration, compute G K * for each x K in X: G K(x K )=min u K {l(x K,u K )+l F (x F )} G K(x K )=min u K {l(x K,u K )+G F (f(x K,u K ))} Last F - k terms of cost functional F =K+ state transition function: f (x,u) computes costs of all optimal one-step plans from stage K to stage F = K + ( ( )) KX G k(x k )=min min l(x k,u k )+ l(x i,u i )+l F (x F ) u k u k+,...,u K Lecture, /6/4 i=k+ CSCI 599: Coordinated Mobile Robotics 9

19 G k(x k )=min u k G k(x k )=min u k Backward value iteration ( ( min u k+,...,u K ( l(x k,u k )+ l(x k,u k )+ min u k+,...,u K KX i=k+ ( K X i=k+ l(x i,u i )+l F (x F ) l(x i,u i )+l F (x F ) )) )) G k(x k )=min u k l(x k,u k )+G k+(x k+ ) Recurrence for calculating G k * from G * k+ G F! G K! G K G k! G k G! G Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 0

20 e e e Backward value iteration: ex. Figure.: By turning Figure.0 sideway 4 a b c d e X = {a, c, b, d, e}. Suppose K = 4, x = a, and X G = {d}. Thus: Four value iterations, construct G 4*, G 3*, G *, G * once G * 5 is given a b c d e 4 a b c d e All possibilities for advancing forward one stage. Figure.0: The possibilities for advancing forward one stage. This is obtained by making two copies of the states from Figure.8, one copy for thecurrentstate and one for the potential next state. that K =4,xI = a, andxg = {d}. There will hence be four value iterations, which Figure construct.0: The G possibilities 4, G 3, G,andG for advancing,oncethefinal-stagecost-to-go,g 5,isgiven. The cost-to-go 4 forward one stage. This obtained by making two copies functions of the states are shown from Figure in Figure.8,.9. one copy Figures for.0 thecurrentstate and. il- and one for the potential next state. a b c d e Figure.0: The possibilities for advancing 4 forward one stage. This is obtained by making two copies of the states from Figure.8, one copy for thecurrentstate and one for the potential next state. a b c d e Example.3 (A Five-State Optimal Planning Problem) Figure.8 shows agraphrepresentationofaplanningprobleminwhichx a b c d = {a, c, b, d, e}. e Suppose Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics can be drawn that easily shows all of the way initial state by flowing from left to right. The the optimal route. lustrate the computations. For computing G 4 because only they can reach d in one stage. G 4(b) =4andG 4(c) =areimportant. Only lead to d in stage k = 5. Note that the minim action that produces the lowest total cost wh stage..3.. Forward value iteration The ideas from Section.3.. may be recycle lent method that computes optimal cost-to-co Whereas backward value iterations were able t states simultaneously, forward value iterations to all states in X. In the backward case, X G a b c d e Figure.8: A five-state example. Each vertex 4 represents a state, and each edge represents an input that can G be 5 applied to the state 0 transition equation to change the state. The a weights on the b G 4 edges represent 4 c l(xk,uk) d e (xk is the originating vertex of.3. the DISCRETE edge). G 3 6 OPTIMAL PLANNING 47 G G Figure.8: A five-state example. a 6 4 b 5 c d 4 e Each vertex 4 represents a state, and each edge represents an input that can G be 5 applied to the state 0 transition equation to change a b c d the Figure state..9: The The weights optimal on cost-to-go the G 4 edges represent functions 4 l(xk,uk) computed e (xk by is backward the originating value vertex iteration. the edge). G 3 6 of G G Figure.8: A five-state example. a 6 4 b 5 c d 4 e It seems convenient that the cost Each of the vertex optimal represents plan can a be state, computed and each so easily, edge but represents how is an the input actual that plan can G extracted? be 5 applied One to the possibility state 0 transition is to store equation the action to change that satisfied the Figure state..9: the The The min weights optimal in (.) on cost-to-go the from G 4 edges every represent functions 4 state, l(xk,uk) and computed at every (xk by is stage. backward the originating Unfortunately, value vertex iteration. the requires edge). O(K X ) storage, G 3 but 6 it can be reduced to O( X ) using the tricks to this of come in Section.3. for the G more 4 general 6 3 case of variable-length plans. G a 6 4 b 5 c d 4 e It seems convenient that the cost of the optimal plan can be computed so easily, but Example how is.3 the (A actual Five-State plan G extracted? 5 Optimal One Planning possibility 0 Problem) is to store Figure the action.8 shows that satisfied agraphrepresentationofaplanningprobleminwhichx Figure.9: the The min optimal in (.) cost-to-go from G 4 every functions 4 state, and computed at every by = stage. {a, backward c, b, Unfortunately, d, e}. value Suppose iteration. requires that this K =4,xI O(K X ) = a, andxg storage, G = 3 but 6 {d}. it can There be reduced will hence to O( X ) be four using value the iterations, tricks to come which in construct Section.3. G 4, G for 3, G the,andg G more 4 general,oncethefinal-stagecost-to-go,g 6 3 case of variable-length plans. 5,isgiven. The cost-to-go functions G are 6 shown 4 in 5 Figure 4.9. Figures.0 and. ilb from every state, c and at every d = It seems convenient that the cost of the optimal plan can be computed so easily, but Example how is.3 the (A actual Five-State plan extracted? Optimal One Planning possibility Problem) is to store Figure the action.8 shows that satisfied agraphrepresentationofaplanningprobleminwhichx Figure.9: the a The min optimal in (.) b cost-to-go from every functions state, c and computed at every d by = stage. {a, backward c, b, Unfortunately, d, e}. e value Suppose iteration. requires that this K =4,xI O(K X ) = a, andxg storage, = but {d}. it can There be reduced will hence to O( X ) be four using value the iterations, tricks to come which in construct Section.3. G 4, G for 3, G the,andg more general,oncethefinal-stagecost-to-go,g case of variable-length plans. 5,isgiven. The cost-to-go 4 functions are shown in Figure.9. Figures.0 and. il- It seems convenient that the cost of the optimal plan can be computed so easily, but Example how is.3 the (A actual Five-State plan extracted? Optimal One Planning possibility Problem) is to store Figure the action.8 shows that satisfied agraphrepresentationofaplanningprobleminwhichx the a min in (.) stage. {a, c, b, Unfortunately, d, e}. e Suppose that this requires K =4,xI O(K X ) = a, andxg storage, = but {d}. it can There be reduced will hence to O( X ) be four using value the iterations, tricks to come which Figure in construct.0: Section The.3. G possibilities 4, G for 3, G the,andg more for advancing general,oncethefinal-stagecost-to-go,g case of variable-length plans. 5,isgiven. The cost-to-go 4 forward one stage. This obtained by making two copies functions of the states are shown from Figure in Figure.8,.9. one copy Figures for.0 thecurrentstate and. il- and one for the potential next state. the state. The weights on the edges represent l(xk,uk) (xk is the originating vertex of the edge)..3. DISCRETE OPTIMAL PLANNING 47 Figure.8: A five-state example. Each vertex 4 represents a state, and each edge represents an input that can be applied to the state transition equation to change.3. DISCRETE OPTIMAL PLANNING 47 case, x I must be fixed. The issue of maintaining feasible solutions a b c d e a b c d e Figure can be initial the op Figure lustrat can becaus initial G 4(b) the op lead to action stage. Figure lustrat can becaus initial G 4(b) lead the op to action.3.. Figure stage. The lustrat id lent can becaus m initial G Where 4(b) lead the states op to action.3.. to all case, stage. x The lustrat id lent Th becaus m G Where 4(b) lead states to action.3.. to all case, stage. x The id Th lent m Where states.3.. to all case, x The id Th lent m Where states to all case, x Th

21 Backward value iteration: ex. 4 a b c d e.3. DISCRETE OPTIMAL PLANNING 47 X = {a, c, b, d, e}. Suppose K = 4, x = a, and X G = {d}. 4 Thus: Four value iterations, construct G 4*, G 3*, G *, G * once G * 5 is given a b c d e a a a a a Figure.8: A five-state example. Each vertex represents a state, and each edge represents an input that can be applied to the state transition equation to change b b b b the state. The weights on the edges represent l(x k,u k )(x k is the originating vertex of the b edge). 48 c 4 c 4 c 4 c 4 c a b c d e G 5 0 G 4 4 G 3 6 G G d d d d d Figure.9: The optimal cost-to-go functions computed by backward value iteration. It seems convenient that the cost of the optimal plan can be computed so easily, e e e e but how e is the actual plan extracted? One possibility is to store the action that satisfied the min in (.) from every state, and at every stage. Unfortunately, Figure.: GBy * turning Figure G *.0 sideways G * and 3 Gcopying * it this K 4 Grequires times, * ao(k X ) graph storage, butitcanbereducedtoo( X ) using the tricks to can be drawn that easily shows all of the ways to arrive at acome finalin 5 statefroman Section.3. for the more general case of variable-length plans. initial state by flowing from left to right. The computations automatically select the optimal route. Example.3 (A Five-State Optimal Planning Problem) Figure.8 shows Principle agraphrepresentationofaplanningprobleminwhichx of optimality: Portions of = {a, optimal c, b, d, e}. Suppose lustrate the computations. For computing G 4, only b and cthat receive K =4,x finite values I = a, andx G = {d}. There will hence be four value iterations, plans because only they can reach d in one stage. For computingwhich are G 3, only construct themselves the values G 4, G 3, G optimal,andg,oncethefinal-stagecost-to-go,g 5,isgiven. G 4(b) =4andG 4(c) =areimportant. OnlypathsthatreachbThe or c can cost-to-go possiblyfunctions are shown in Figure.9. Figures.0 and. il- Lecture, /6/4 lead to d in stage k = 5. Note that CSCI the minimization 599: Coordinated (.) always Mobile chooses Robotics the action that produces the lowest total cost when arriving at a vertex in a the next b c d e stage. 4 Fig can ini the lus be G 4 lea act sta.3 Th

22 A few project ideas Relative localization for a team of robots using RF signals in a cluttered environment Implement navigation in known cluttered environments without external localization Polygonal object caging and transport without force closure and without updated knowledge of the object s position Implement mobile ad-hoc networks between robots Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 4

23 A few project ideas Lecture, /6/4 CSCI 599: Coordinated Mobile Robotics 5

Discrete search algorithms

Discrete search algorithms Robot Autonomy (16-662, S13) Lecture#08 (Monday February 11) Discrete search algorithms Lecturer: Siddhartha Srinivasa Scribes: Kavya Suresh & David Matten I. INTRODUCTION These notes contain a detailed

More information

Learning Objectives. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 3.3, Page 1

Learning Objectives. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 3.3, Page 1 Learning Objectives At the end of the class you should be able to: devise an useful heuristic function for a problem demonstrate how best-first and A search will work on a graph predict the space and time

More information

CAP 4630 Artificial Intelligence

CAP 4630 Artificial Intelligence CAP 4630 Artificial Intelligence Instructor: Sam Ganzfried sganzfri@cis.fiu.edu 1 http://www.ultimateaiclass.com/ https://moodle.cis.fiu.edu/ 2 Solving problems by search 3 8-puzzle 4 8-queens 5 Search

More information

Learning Objectives. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 3.5, Page 1

Learning Objectives. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 3.5, Page 1 Learning Objectives At the end of the class you should be able to: justify why depth-bounded search is useful demonstrate how iterative-deepening works for a particular problem demonstrate how depth-first

More information

CS 4700: Foundations of Artificial Intelligence. Bart Selman. Search Techniques R&N: Chapter 3

CS 4700: Foundations of Artificial Intelligence. Bart Selman. Search Techniques R&N: Chapter 3 CS 4700: Foundations of Artificial Intelligence Bart Selman Search Techniques R&N: Chapter 3 Outline Search: tree search and graph search Uninformed search: very briefly (covered before in other prerequisite

More information

Heuristic Search and Advanced Methods

Heuristic 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 information

CMU-Q Lecture 2: Search problems Uninformed search. Teacher: Gianni A. Di Caro

CMU-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 information

UNIT 4 Branch and Bound

UNIT 4 Branch and Bound UNIT 4 Branch and Bound General method: Branch and Bound is another method to systematically search a solution space. Just like backtracking, we will use bounding functions to avoid generating subtrees

More information

Uninformed Search Methods

Uninformed 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 information

Search Algorithms for Discrete Optimization Problems

Search 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 information

Uninformed search strategies (Section 3.4) Source: Fotolia

Uninformed search strategies (Section 3.4) Source: Fotolia Uninformed search strategies (Section 3.4) Source: Fotolia Uninformed search strategies A search strategy is defined by picking the order of node expansion Uninformed search strategies use only the information

More information

Class Overview. Introduction to Artificial Intelligence COMP 3501 / COMP Lecture 2: Search. Problem Solving Agents

Class 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 information

Lecture 5: Search Algorithms for Discrete Optimization Problems

Lecture 5: Search Algorithms for Discrete Optimization Problems Lecture 5: Search Algorithms for Discrete Optimization Problems Definitions Discrete optimization problem (DOP): tuple (S, f), S finite set of feasible solutions, f : S R, cost function. Objective: find

More information

Search Algorithms for Discrete Optimization Problems

Search 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 information

Search : Lecture 2. September 9, 2003

Search : 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 information

Discrete planning (an introduction)

Discrete planning (an introduction) Sistemi Intelligenti Corso di Laurea in Informatica, A.A. 2017-2018 Università degli Studi di Milano Discrete planning (an introduction) Nicola Basilico Dipartimento di Informatica Via Comelico 39/41-20135

More information

ME/CS 132: Advanced Robotics: Navigation and Vision

ME/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 information

Lecture 4 of Artificial Intelligence. Heuristic Search. Produced by Qiangfu Zhao (2008), All rights reserved

Lecture 4 of Artificial Intelligence. Heuristic Search. Produced by Qiangfu Zhao (2008), All rights reserved Lecture 4 of Artificial Intelligence Heuristic Search AI Lec04/1 Topics of this lecture What are heuristics? What is heuristic search? Best first search A* algorithm Generalization of search problems AI

More information

Algorithms and Path Planning

Algorithms and Path Planning Algorithms and Path Planning Topics Simple Search Depth First Search Breadth First Search Dijkstra s Search Greedy Search A* Search Classes of interest ECE400: Computer Systems Programming CS4700: Foundations

More information

mywbut.com Informed Search Strategies-I

mywbut.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 information

DIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 19 January, 2018

DIT411/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 information

Branch & Bound (B&B) and Constraint Satisfaction Problems (CSPs)

Branch & 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 information

Search. (Textbook Chpt ) Computer Science cpsc322, Lecture 2. May, 10, CPSC 322, Lecture 2 Slide 1

Search. (Textbook Chpt ) Computer Science cpsc322, Lecture 2. May, 10, CPSC 322, Lecture 2 Slide 1 Search Computer Science cpsc322, Lecture 2 (Textbook Chpt 3.0-3.4) May, 10, 2012 CPSC 322, Lecture 2 Slide 1 Colored Cards You need to have 4 colored index cards Come and get them from me if you still

More information

COMP9414: Artificial Intelligence Informed Search

COMP9414: Artificial Intelligence Informed Search COMP9, Wednesday March, 00 Informed Search COMP9: Artificial Intelligence Informed Search Wayne Wobcke Room J- wobcke@cse.unsw.edu.au Based on slides by Maurice Pagnucco Overview Heuristics Informed Search

More information

Route planning / Search Movement Group behavior Decision making

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 information

Class Overview. Introduction to Artificial Intelligence COMP 3501 / COMP Lecture 2. Problem Solving Agents. Problem Solving Agents: Assumptions

Class 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 information

CS510 \ Lecture Ariel Stolerman

CS510 \ Lecture Ariel Stolerman CS510 \ Lecture02 2012-10-03 1 Ariel Stolerman Midterm Evan will email about that after the lecture, at least 2 lectures from now. The exam will be given in a regular PDF (not an online form). We will

More information

Uninformed Search. (Textbook Chpt 3.5) Computer Science cpsc322, Lecture 5. May 18, CPSC 322, Lecture 5 Slide 1

Uninformed Search. (Textbook Chpt 3.5) Computer Science cpsc322, Lecture 5. May 18, CPSC 322, Lecture 5 Slide 1 Uninformed Search Computer Science cpsc322, Lecture 5 (Textbook Chpt 3.5) May 18, 2017 CPSC 322, Lecture 5 Slide 1 Recap Search is a key computational mechanism in many AI agents We will study the basic

More information

Chapter 3. A problem-solving agent is a kind of goal-based agent. It decide what to do by finding sequences of actions that lead to desirable states.

Chapter 3. A problem-solving agent is a kind of goal-based agent. It decide what to do by finding sequences of actions that lead to desirable states. Chapter 3 A problem-solving agent is a kind of goal-based agent. It decide what to do by finding sequences of actions that lead to desirable states. A problem can be defined by four components : 1. The

More information

Graph Search Methods. Graph Search Methods

Graph Search Methods. Graph Search Methods Graph Search Methods A vertex u is reachable from vertex v iff there is a path from v to u. 0 Graph Search Methods A search method starts at a given vertex v and visits/labels/marks every vertex that is

More information

UNINFORMED SEARCH. Announcements Reading Section 3.4, especially 3.4.1, 3.4.2, 3.4.3, 3.4.5

UNINFORMED SEARCH. Announcements Reading Section 3.4, especially 3.4.1, 3.4.2, 3.4.3, 3.4.5 UNINFORMED SEARCH Announcements Reading Section 3.4, especially 3.4.1, 3.4.2, 3.4.3, 3.4.5 Robbie has no idea where room X is, and may have little choice but to try going down this corridor and that. On

More information

Learning Objectives. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 3.2, Page 1

Learning Objectives. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 3.2, Page 1 Learning Objectives At the end of the class you should be able to: demonstrate how depth-first search will work on a graph demonstrate how breadth-first search will work on a graph predict the space and

More information

Set 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 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 information

Lecture 3. Brute Force

Lecture 3. Brute Force Lecture 3 Brute Force 1 Lecture Contents 1. Selection Sort and Bubble Sort 2. Sequential Search and Brute-Force String Matching 3. Closest-Pair and Convex-Hull Problems by Brute Force 4. Exhaustive Search

More information

CS 771 Artificial Intelligence. Problem Solving by Searching Uninformed search

CS 771 Artificial Intelligence. Problem Solving by Searching Uninformed search CS 771 Artificial Intelligence Problem Solving by Searching Uninformed search Complete architectures for intelligence? Search? Solve the problem of what to do. Learning? Learn what to do. Logic and inference?

More information

TIE Graph algorithms

TIE Graph algorithms TIE-20106 1 1 Graph algorithms This chapter discusses the data structure that is a collection of points (called nodes or vertices) and connections between them (called edges or arcs) a graph. The common

More information

COMP9414: Artificial Intelligence Informed Search

COMP9414: Artificial Intelligence Informed Search COMP9, Monday 9 March, 0 Informed Search COMP9: Artificial Intelligence Informed Search Wayne Wobcke Room J- wobcke@cse.unsw.edu.au Based on slides by Maurice Pagnucco Overview Heuristics Informed Search

More information

HW#1 due today. HW#2 due Monday, 9/09/13, in class Continue reading Chapter 3

HW#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 information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Shortest Path Problem G. Guérard Department of Nouvelles Energies Ecole Supérieur d Ingénieurs Léonard de Vinci Lecture 3 GG A.I. 1/42 Outline 1 The Shortest Path Problem Introduction

More information

Lecture 3 - States and Searching

Lecture 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 information

Chapter 3: Search. c D. Poole, A. Mackworth 2010, W. Menzel 2015 Artificial Intelligence, Chapter 3, Page 1

Chapter 3: Search. c D. Poole, A. Mackworth 2010, W. Menzel 2015 Artificial Intelligence, Chapter 3, Page 1 Chapter 3: Search c D. Poole, A. Mackworth 2010, W. Menzel 2015 Artificial Intelligence, Chapter 3, Page 1 Searching Often we are not given an algorithm to solve a problem, but only a specification of

More information

Solving Problems by Searching

Solving Problems by Searching INF5390 Kunstig intelligens Sony Vaio VPC-Z12 Solving Problems by Searching Roar Fjellheim Outline Problem-solving agents Example problems Search programs Uninformed search Informed search Summary AIMA

More information

Chapter 11 Search Algorithms for Discrete Optimization Problems

Chapter 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 information

Informed search methods

Informed 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 information

CS 520: Introduction to Artificial Intelligence. Lectures on Search

CS 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 information

A* optimality proof, cycle checking

A* 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 information

Uninformed Search. CS171, Winter 2018 Introduction to Artificial Intelligence Prof. Richard Lathrop. Reading: R&N

Uninformed Search. CS171, Winter 2018 Introduction to Artificial Intelligence Prof. Richard Lathrop. Reading: R&N Uninformed Search CS171, Winter 2018 Introduction to Artificial Intelligence Prof. Richard Lathrop Reading: R&N 3.1-3.4 Uninformed search strategies Uninformed (blind): You have no clue whether one non-goal

More information

Informed Search Methods

Informed 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 information

Solving Problems by Searching

Solving Problems by Searching INF5390 Kunstig intelligens Solving Problems by Searching Roar Fjellheim Outline Problem-solving agents Example problems Search programs Uninformed search Informed search Summary AIMA Chapter 3: Solving

More information

Announcements. Solution to Assignment 1 is posted Assignment 2 is available Video automatically uploaded (see web page)

Announcements. Solution to Assignment 1 is posted Assignment 2 is available Video automatically uploaded (see web page) Announcements Solution to Assignment 1 is posted Assignment 2 is available Video automatically uploaded (see web page) c D. Poole and A. Mackworth 2017 CPSC 322 Lecture 4 1 / 27 Review: Searching A frontier

More information

COMP3702/7702 Artificial Intelligence Week2: Search (Russell & Norvig ch. 3)" Hanna Kurniawati"

COMP3702/7702 Artificial Intelligence Week2: Search (Russell & Norvig ch. 3) Hanna Kurniawati COMP3702/7702 Artificial Intelligence Week2: Search (Russell & Norvig ch. 3)" Hanna Kurniawati" Last week" What is Artificial Intelligence?" Some history" Agent defined" The agent design problem" Search:

More information

ARTIFICIAL INTELLIGENCE. Pathfinding and search

ARTIFICIAL INTELLIGENCE. Pathfinding and search INFOB2KI 2017-2018 Utrecht University The Netherlands ARTIFICIAL INTELLIGENCE Pathfinding and 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 information

Uninformed (also called blind) search algorithms

Uninformed (also called blind) search algorithms Uninformed (also called blind) search algorithms First Lecture Today (Thu 30 Jun) Read Chapters 18.6.1-2, 20.3.1 Second Lecture Today (Thu 30 Jun) Read Chapter 3.1-3.4 Next Lecture (Tue 5 Jul) Chapters

More information

Uninformed Search Strategies

Uninformed 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 information

Uninformed search strategies

Uninformed search strategies Uninformed search strategies A search strategy is defined by picking the order of node expansion Uninformed search strategies use only the informa:on available in the problem defini:on Breadth- first search

More information

Search Algorithms. Uninformed Blind search. Informed Heuristic search. Important concepts:

Search 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 information

Path Planning. Marcello Restelli. Dipartimento di Elettronica e Informazione Politecnico di Milano tel:

Path Planning. Marcello Restelli. Dipartimento di Elettronica e Informazione Politecnico di Milano   tel: Marcello Restelli Dipartimento di Elettronica e Informazione Politecnico di Milano email: restelli@elet.polimi.it tel: 02 2399 3470 Path Planning Robotica for Computer Engineering students A.A. 2006/2007

More information

Informed Search CS457 David Kauchak Fall 2011

Informed 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 information

Solving Problems by Searching

Solving Problems by Searching Solving Problems by Searching Berlin Chen 2004 Reference: 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach. Chapter 3 1 Introduction Problem-Solving Agents vs. Reflex Agents Problem-solving

More information

CMPSCI 250: Introduction to Computation. Lecture #24: General Search, DFS, and BFS David Mix Barrington 24 March 2014

CMPSCI 250: Introduction to Computation. Lecture #24: General Search, DFS, and BFS David Mix Barrington 24 March 2014 CMPSCI 250: Introduction to Computation Lecture #24: General Search, DFS, and BFS David Mix Barrington 24 March 2014 General Search, DFS, and BFS Four Examples of Search Problems State Spaces, Search,

More information

Uninformed Search. Day 1 & 2 of Search. Russel & Norvig Chap. 3. Material in part from

Uninformed Search. Day 1 & 2 of Search. Russel & Norvig Chap. 3. Material in part from Uninformed Day & 2 of Russel & Norvig Chap. 3 Material in part from http://www.cs.cmu.edu/~awm/tutorials Examples of problems? The Oak Tree Informed versus Uninformed Heuristic versus Blind A Problem a

More information

Informed search methods

Informed search methods Informed search methods Tuomas Sandholm Computer Science Department Carnegie Mellon University Read Section 3.5-3.7 of Russell and Norvig Informed Search Methods Heuristic = to find, to discover Heuristic

More information

Solving Problems by Searching

Solving Problems by Searching Solving Problems by Searching 1 Terminology State State Space Initial State Goal Test Action Step Cost Path Cost State Change Function State-Space Search 2 Formal State-Space Model Problem = (S, s, A,

More information

Lecture 4: Search 3. Victor R. Lesser. CMPSCI 683 Fall 2010

Lecture 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 information

Basic Search. Fall Xin Yao. Artificial Intelligence: Basic Search

Basic Search. Fall Xin Yao. Artificial Intelligence: Basic Search Basic Search Xin Yao Fall 2017 Fall 2017 Artificial Intelligence: Basic Search Xin Yao Outline Motivating Examples Problem Formulation From Searching to Search Tree Uninformed Search Methods Breadth-first

More information

A4B36ZUI - Introduction ARTIFICIAL INTELLIGENCE

A4B36ZUI - 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 information

Introduction to Computer Science and Programming for Astronomers

Introduction to Computer Science and Programming for Astronomers Introduction to Computer Science and Programming for Astronomers Lecture 9. István Szapudi Institute for Astronomy University of Hawaii March 21, 2018 Outline Reminder 1 Reminder 2 3 Reminder We have demonstrated

More information

CS 4700: Foundations of Artificial Intelligence

CS 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 information

Announcements. CS 188: Artificial Intelligence

Announcements. CS 188: Artificial Intelligence Announcements Projects: Looking for project partners? --- Come to front after lecture. Try pair programming, not divide-and-conquer Account forms available up front during break and after lecture Assignments

More information

Discrete Motion Planning

Discrete Motion Planning RBE MOTION PLANNING Discrete Motion Planning Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering http://users.wpi.edu/~zli11 Announcement Homework 1 is out Due Date - Feb 1 Updated

More information

Search: Advanced Topics and Conclusion

Search: 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 information

COMP219: Artificial Intelligence. Lecture 7: Search Strategies

COMP219: Artificial Intelligence. Lecture 7: Search Strategies COMP219: Artificial Intelligence Lecture 7: Search Strategies 1 Overview Last time basic ideas about problem solving; state space; solutions as paths; the notion of solution cost; the importance of using

More information

State Space Search in AI

State Space Search in AI State Space Search in AI Prof. (Dr.) K.R. Chowdhary Email: kr.chowdhary@jietjodhpur.ac.in Campus Director, JIET College of Engineering, Jodhpur Tuesday 22 nd August, 2017 kr chowdhary AI Search Algorithms

More information

Ar#ficial)Intelligence!!

Ar#ficial)Intelligence!! Introduc*on! Ar#ficial)Intelligence!! Roman Barták Department of Theoretical Computer Science and Mathematical Logic Problem Solving: Uninformed Search Simple reflex agent only transfers the current percept

More information

Solving Problem by Searching. Chapter 3

Solving Problem by Searching. Chapter 3 Solving Problem by Searching Chapter 3 Outline Problem-solving agents Problem formulation Example problems Basic search algorithms blind search Heuristic search strategies Heuristic functions Problem-solving

More information

TIE Graph algorithms

TIE Graph algorithms TIE-20106 239 11 Graph algorithms This chapter discusses the data structure that is a collection of points (called nodes or vertices) and connections between them (called edges or arcs) a graph. The common

More information

Chapter 3: Solving Problems by Searching

Chapter 3: Solving Problems by Searching Chapter 3: Solving Problems by Searching Prepared by: Dr. Ziad Kobti 1 Problem-Solving Agent Reflex agent -> base its actions on a direct mapping from states to actions. Cannot operate well in large environments

More information

Topic 1 Uninformed Search

Topic 1 Uninformed Search Topic 1 Uninformed Search [George F Luger. 2008. Artificial Intelligence Structures and Strategies for Complex Problem Solving. 6 th Ed. Pearson. ISBN: 0321545893.] 1 Contents 1. Depth-First Search (DFS)

More information

Lecture 3 of 42. Lecture 3 of 42

Lecture 3 of 42. Lecture 3 of 42 Search Problems Discussion: Term Projects 3 of 5 William H. Hsu Department of Computing and Information Sciences, KSU KSOL course page: http://snipurl.com/v9v3 Course web site: http://www.kddresearch.org/courses/cis730

More information

Uninformed Search. CPSC 322 Lecture 5. September 14, 2007 Textbook 2.4. Graph Search Searching Depth-First Search

Uninformed Search. CPSC 322 Lecture 5. September 14, 2007 Textbook 2.4. Graph Search Searching Depth-First Search Uninformed Search CPSC 322 Lecture 5 September 14, 2007 Textbook 2.4 Uninformed Search CPSC 322 Lecture 5, Slide 1 Lecture Overview 1 Graph Search 2 Searching 3 Depth-First Search Uninformed Search CPSC

More information

3 SOLVING PROBLEMS BY SEARCHING

3 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 information

CSC 8301 Design & Analysis of Algorithms: Linear Programming

CSC 8301 Design & Analysis of Algorithms: Linear Programming CSC 8301 Design & Analysis of Algorithms: Linear Programming Professor Henry Carter Fall 2016 Iterative Improvement Start with a feasible solution Improve some part of the solution Repeat until the solution

More information

CS 188: Artificial Intelligence Fall 2008

CS 188: Artificial Intelligence Fall 2008 CS 188: Artificial Intelligence Fall 2008 Lecture 4: CSPs 9/9/2008 Dan Klein UC Berkeley Many slides over the course adapted from either Stuart Russell or Andrew Moore 1 1 Announcements Grading questions:

More information

Announcements. CS 188: Artificial Intelligence Fall Large Scale: Problems with A* What is Search For? Example: N-Queens

Announcements. CS 188: Artificial Intelligence Fall Large Scale: Problems with A* What is Search For? Example: N-Queens CS 188: Artificial Intelligence Fall 2008 Announcements Grading questions: don t panic, talk to us Newsgroup: check it out Lecture 4: CSPs 9/9/2008 Dan Klein UC Berkeley Many slides over the course adapted

More information

Problem Solving as Search. CMPSCI 383 September 15, 2011

Problem Solving as Search. CMPSCI 383 September 15, 2011 Problem Solving as Search CMPSCI 383 September 15, 2011 1 Today s lecture Problem-solving as search Uninformed search methods Problem abstraction Bold Claim: Many problems faced by intelligent agents,

More information

Coping with the Limitations of Algorithm Power Exact Solution Strategies Backtracking Backtracking : A Scenario

Coping with the Limitations of Algorithm Power Exact Solution Strategies Backtracking Backtracking : A Scenario Coping with the Limitations of Algorithm Power Tackling Difficult Combinatorial Problems There are two principal approaches to tackling difficult combinatorial problems (NP-hard problems): Use a strategy

More information

Total Score /1 /20 /41 /15 /23 Grader

Total Score /1 /20 /41 /15 /23 Grader NAME: NETID: CS2110 Spring 2015 Prelim 2 April 21, 2013 at 5:30 0 1 2 3 4 Total Score /1 /20 /41 /15 /23 Grader There are 5 questions numbered 0..4 on 8 pages. Check now that you have all the pages. Write

More information

CS 4700: Foundations of Artificial Intelligence

CS 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 information

DIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 23 January, 2018

DIT411/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 information

CS Algorithms and Complexity

CS Algorithms and Complexity CS 350 - Algorithms and Complexity Graph Theory, Midterm Review Sean Anderson 2/6/18 Portland State University Table of contents 1. Graph Theory 2. Graph Problems 3. Uninformed Exhaustive Search 4. Informed

More information

Solutions for Operations Research Final Exam

Solutions for Operations Research Final Exam Solutions for Operations Research Final Exam. (a) The buffer stock is B = i a i = a + a + a + a + a + a 6 + a 7 = + + + + + + =. And the transportation tableau corresponding to the transshipment problem

More information

Search with Costs and Heuristic Search

Search with Costs and Heuristic Search Search with Costs and Heuristic Search Alan Mackworth UBC CS 322 Search 3 January 14, 2013 Textbook 3.5.3, 3.6, 3.6.1 1 Today s Lecture Recap from last lecture, combined with AIspace demo Search with costs:

More information

Basic Search Algorithms

Basic 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 information

Recap A Search Optimality of A. Search: A. CPSC 322 Search 5. Textbook 3.6. Search: A CPSC 322 Search 5, Slide 1

Recap A Search Optimality of A. Search: A. CPSC 322 Search 5. Textbook 3.6. Search: A CPSC 322 Search 5, Slide 1 Search: A CPSC 322 Search 5 Textbook 3.6 Search: A CPSC 322 Search 5, Slide 1 Lecture Overview 1 Recap 2 A Search 3 Optimality of A Search: A CPSC 322 Search 5, Slide 2 Search with Costs Sometimes there

More information

Week 3: Path Search. COMP9414/ 9814/ 3411: Artificial Intelligence. Motivation. Example: Romania. Romania Street Map. Russell & Norvig, Chapter 3.

Week 3: Path Search. COMP9414/ 9814/ 3411: Artificial Intelligence. Motivation. Example: Romania. Romania Street Map. Russell & Norvig, Chapter 3. COMP9414/9814/3411 17s1 Search 1 COMP9414/ 9814/ 3411: Artificial Intelligence Week 3: Path Search Russell & Norvig, Chapter 3. Motivation Reactive and Model-Based Agents choose their actions based only

More information

search, DFS & BrFS; cycle checking & MPC arc costs; heuristics; LCFS, BeFS, A* misc: iterative deepening, etc.

search, DFS & BrFS; cycle checking & MPC arc costs; heuristics; LCFS, BeFS, A* misc: iterative deepening, etc. CSC384: Lecture 5 Last time search, DFS & BrFS; cycle checking & MPC Today arc costs; heuristics; LCFS, BeFS, A* misc: iterative deepening, etc. Readings: Today: Ch.4.5, 4.6 Next Weds: class notes (no

More information

Informed search strategies (Section ) Source: Fotolia

Informed 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 information

Lecture 3. Uninformed Search

Lecture 3. Uninformed Search Lecture 3 Uninformed Search 1 Uninformed search strategies Uninformed: While searching you have no clue whether one non-goal state is better than any other. Your search is blind. You don t know if your

More information

Artificial Intelligence

Artificial 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 information

Assignment 1 is out! Due: 9 Sep 23:59! Can work in a group of 2-3 students.! NO cheating!!!! Submit in turnitin! Code + report!

Assignment 1 is out! Due: 9 Sep 23:59! Can work in a group of 2-3 students.! NO cheating!!!! Submit in turnitin! Code + report! Assignment 1 is out! Due: 9 Sep 23:59! Submit in turnitin! Code + report! Can work in a group of 2-3 students.! Please register your group in the website linked from the assignment description before tomorrow

More information