Summary. Agenda. Search. Search is a common technique in problem solving. Search Formulation Tree Search Uniform cost search A* Search.
|
|
- Johnathan Pierce
- 5 years ago
- Views:
Transcription
1 ummary rtificial Intelligence and its applications ecture earch earch onstraint atisfaction Problems rom start state to goal state onsider constraints Professor aniel Yeung r. Patrick han outh hina University of Technology, hina ifficulty ame Playing Markov ecision Processes onsider an adversary onsider an uncertainty einforcement earning No information is given rtificial Intelligence and its applications - ecture : ame Playing genda earch earch ormulation Tree earch Uniform cost search * earch earch is a common technique in problem solving Maze Magic ube 8 puzzle oute-finding rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch
2 earch n agent finds the action sequence which leads to a goal state nvironment: a set of states gent: User, player, etc who can take actions to change states earch Procedure ormulation How to convert a real problem into a problem can be solved by our algorithm earch earching algorithm xecution ealize it rtificial Intelligence and its applications - ecture : earch 6 rtificial Intelligence and its applications - ecture : earch ormulation implification kashi Too simple: ridge not enough information waji Too complicate: increase complexity and difficulty ppropriate level of abstraction? kashi waji uma uma Harbor and Harbor and Meriken Park Port Kobe irport Meriken Park Port Kobe irport ormulation ssumptions Observable: can be converted into states tatic: no change in execution iscrete: states, actions eterministic: can be predicted kashi waji uma Harbor and Meriken Park Port Kobe irport 7 rtificial Intelligence and its applications - ecture : earch 8 rtificial Intelligence and its applications - ecture : earch
3 tate s Information of earch tart (Initial) tate nd (oal) tate = {kashi, uma, Harbor and } ction(kashi) = ction(s) : Possible action (a) in s {go to uma, go to waji } ost(s, a) : ction cost ost(uma, go to kashi) = ost(uma, go to Harborand) = ucc(s, a) = s : successor ucc(kashi, go to ) = uma ormulation xample vacuum robot cleans up two rooms automatically How to formulate this problem? kashi waji uma Harbor and Meriken Park Port Kobe irport Two rooms vacuum robot dirt 9 rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch ormulation xample ormulation xample actor of a room: or each room, possible states With / without irt With / without obot or two rooms ctions: ight eft uck ction cost: ach action costs one Initial tate: ny state oal tate: ll rooms are clean Therefore, 8 states rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch
4 ormulation earch raph ormulation earch raph Nodes are states ach state occurs only once rcs represent successors i.e. action results The goal test is a set of goal nodes rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch ormulation earch Tree arelybuild the full graph in memory raph is usually too big Not necessary to build the whole graph to obtain the solution rtificial Intelligence and its applications - ecture : earch ormulation earch Tree earch Tree will build until the solution is found 6 oot : start state hildren : correspond to successors ometimes the size of a tree is infinite epeat is unavoidable (e.g. move left and right) i.e. yclic graph a graph with a cycle H P J V M rtificial Intelligence and its applications - ecture : earch N Q
5 ormulation earch Tree ormulation earch Tree yclic graph cyclic graph Infinite Tree inite Tree 7 rtificial Intelligence and its applications - ecture : earch 8 rtificial Intelligence and its applications - ecture : earch earch valuation earch lgorithm ompleteness Is the algorithm guaranteed to find a solution when there is one? Optimality oes the strategy find the optimal solution? Time complexity How long does it take to find a solution? pace complexity How much memory is needed to perform the search? ost-insensitive earch ame cost for all actions Method: Tree earch ost-sensitive earch ctions with different costs Method: Uniform ost earch 7 9 rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch
6 Tree earch: epth-irst earch xpand deepest nodes first Not optimal (Only leftmost solution) May be infinite Need to control the depth Time complexity: O(b ) pace complexity: O() where b is branch factor is max. depth of the tree rtificial Intelligence and its applications - ecture : earch annot find the optimal one Tree earch: epth V readth-irst earch Tree earch: readth-irst earch xpand shallowest nodes first Optimal for uniform cost Time complexity: O(b s ) pace complexity: O(b s ) where b is branch factor s is the depth of the shallow solution rtificial Intelligence and its applications - ecture : earch Tree earch: Iterative eepening earch When or is better? pace : : Time : : the tree contains the shallow solution a path aster for hallow olution aster for eep olution (?) Need to determine the depth limit to avoid the infinite depth Take the advantages from and : ess time complexity for shallow solution : ess space complexity lgorithm et i =, run with depth limit (i x n) If no solution, do it again with i = i + n n n... rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch
7 Tree earch: Iterative eepening earch dvantage: educe the space complexity (only one path) No need to consider the infinite tree isadvantage: edundancy: hallow part of tree is considered several times n n n... Tree earch: idirectional earch Two trees from opposite directions uild two trees rooted at Initial and oal state top when the two trees meet each other Time complexity: b s/ + b s/ < b d pace complexity: O(b s ) where b is branch factor s is the depth of the shallow solution rtificial Intelligence and its applications - ecture : earch 6 rtificial Intelligence and its applications - ecture : earch Tree earch: idirectional earch Uniform ost earch ost-sensitive search onsider the cost of actions ind the shortest path from the start state to a state in each iteration until the end state is considered ll weight values are non-negative imilar to ijkstra s algorithm ble to handle a weighted cyclic graph 7 rtificial Intelligence and its applications - ecture : earch 8 rtificial Intelligence and its applications - ecture : earch
8 Uniform ost earch Uniform ost earch xpand explored region to cover the end state xplored: already found the optimal path rontier: still figuring out the optimal path Unexplored: states have not been seen xplore states according to the order of value of Pastost() Pastost(): the minimum cost from the start state to s utureost(): the minimum cost from to an end state tart xplored nd Pastost() utureost() rontier Unexplored 9 rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch Uniform ost earch Uniform ost earch dd start state to frontier (priority queue) epeat until frontier is empty: emove s with smallest priority p from frontier If s = end state: return solution ddsto explored or each action ain ctions(s): et successor s <- ucc(s, a) If s already in explored: continue dd s to frontier with priority p + ost(s, a) 87 9 xplored rontier Unexplored rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch
9 Uniform ost earch * earch Uniform cost search explores many states which are far away from the end state * improves uniform cost search by biasing the states which are closer to the end state Wasted effort at this side? tart xplored rontier Unexplored nd rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch * earch * earch xample Pastost() utureost() lgorithm: * search (proposed by Hart/ Nilsson/ aphael, 968) Total cost of to = Pastost() + utureost() Uniform ost earch xplore states in order of Pastost() * earch xplore states in order of Pastost() + h() h() is a heuristic function which estimates utureost() ost (, ) = ost(, ) + h() where h() = d() - d() d(s) = rtificial Intelligence and its applications - ecture : earch 6 rtificial Intelligence and its applications - ecture : earch
10 Not consider here * earch d(s) = Uniform ost earch : ost (, ) = ost(, ) * earch d(s) = * : ost (, ) = ost(, ) + (d() -d()) ost h Total: ost - h - - d()-d() d()-d() d()-d() Total 7 rtificial Intelligence and its applications - ecture : earch 8 rtificial Intelligence and its applications - ecture : earch * earch * earch: Heuristic unction Uniform ost earch * h(s) determination is important If h(s) is incorrect, then * performs much worse than U If h(s) =, then * is same as U If h(s) = utureost(s), then * only explores nodes on a minimum cost path (optimal) esign of heuristics is domain dependence 9 rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch
11 * earch: Heuristic unction xample * earch: Heuristic unction xample Maze ame Maze ame How to find out a suitable heuristic function? onsidering obstacles causes Heuristic function very complicated et rid of constraints to make the problem easier rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : earch * earch: Heuristic unction xample ummary Maze ame earch rom start state to goal state onstraint atisfaction Problems onsider constraints h(s) = Manhattanistance(s, ndtate) where Manhattanistance((r, c ), (r, c )) = r - r + c - c e.g. h((, )) = 6 ifficulty ame Playing Markov ecision Processes onsider an adversary onsider an uncertainty einforcement earning No information is given rtificial Intelligence and its applications - ecture : earch rtificial Intelligence and its applications - ecture : ame Playing
1/19/2010. Usually for static, deterministic environment
To download the discussion slides, go to http://april.eecs.umich.edu/courses/eecs492_w10/wiki/index.php/iscussion_lides eterministic, tochastic and trategic nvironment eterministic ompletely predictable
More informationUninformed Search. Models To Be Studied in CS 540. Chapter Search Example: Route Finding
Models To e tudied in 50 Uninformed earch hapter 3. 3. tate-based Models Model task as a graph of all possible states l alled a state-space graph state captures all the relevant information about the past
More informationLecture overview. Knowledge-based systems in Bioinformatics, 1MB602, Goal based agents. Search terminology. Specifying a search problem
Lecture overview Knowledge-based systems in ioinformatics, 1M602, 2006 Lecture 6: earch oal based agents earch terminology pecifying a search problem earch considerations Uninformed search euristic methods
More informationLecture 14: March 9, 2015
324: tate-space, F, F, Uninformed earch. pring 2015 Lecture 14: March 9, 2015 Lecturer: K.R. howdhary : Professor of (VF) isclaimer: These notes have not been subjected to the usual scrutiny reserved for
More informationmywbut.com Uninformed Search
Uninformed Search 1 2.4 Search Searching through a state space involves the following: set of states Operators and their costs Start state test to check for goal state We will now outline the basic search
More informationProblem solving by search
Problem solving by search based on tuart ussel s slides (http://aima.cs.berkeley.edu) February 27, 2017, E533KUI - Problem solving by search 1 Outline Problem-solving agents Problem types Problem formulation
More informationReminders. Problem solving and search. Problem-solving agents. Outline. Assignment 0 due 5pm today
ssignment 0 due 5pm today eminders Problem solving and search ssignment 1 posted, due 2/9 ection 105 will move to 9-10am starting next week hapter 3 hapter 3 1 hapter 3 2 Outline Problem-solving agents
More informationProblem solving and search
Problem solving and search hapter 3 hapter 3 1 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms hapter 3 2 estricted form of general agent: Problem-solving
More informationProblem solving and search
Problem solving and search hapter 3 hapter 3 1 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms hapter 3 3 Example: omania On holiday in omania;
More informationProblem solving and search
Problem solving and search hapter 3 hapter 3 1 eminders ssignment 0 due midnight Thursday 9/8 ssignment 1 posted, due 9/20 (online or in box in 283) hapter 3 2 Outline Problem-solving agents Problem types
More informationProblem solving Basic search. Example: Romania. Example: Romania. Problem types. Intelligent Systems and HCI D7023E. Single-state problem formulation
Intelligent Systems and HI 7023 Lecture 3: asic Search Paweł Pietrzak Problem solving asic search 1 2 xample: Romania On holiday in Romania; currently in rad. light leaves tomorrow from ucharest ormulate
More informationProblem-solving agents. Problem solving and search. Example: Romania. Reminders. Example: Romania. Outline. Chapter 3
Problem-solving agents Problem solving and search hapter 3 function imple-problem-olving-gent( percept) returns an action static: seq, an action sequence, initially empty state, some description of the
More informationOutline. Problem solving and search. Problem-solving agents. Example: Romania. Example: Romania. Problem types. Problem-solving agents.
Outline Problem-solving agents Problem solving and search hapter 3 Problem types Problem formulation Example problems asic search algorithms hapter 3 1 hapter 3 3 estricted form of general agent: Problem-solving
More informationProblem Solving and Search. Chapter 3
Problem olving and earch hapter 3 Outline Problem-solving agents Problem formulation Example problems asic search algorithms In the simplest case, an agent will: formulate a goal and a problem; Problem-olving
More informationSolving problems by searching
olving problems by searching Uninformed search lides from ussell & Norvig book, revised by ndrea oli Problem-solving agents Problem types Problem formulation Example problems asic search algorithms Outline
More informationOutline. Solving problems by searching. Prologue. Example: Romania. Uninformed search
Outline olving problems by searching Uninformed search lides from ussell & Norvig book, revised by ndrea oli Problem-solving agents Problem types Problem formulation Example problems asic search algorithms
More informationCOMP 8620 Advanced Topics in AI
OMP 8620 dvanced Topics in Lecturers: Philip Kilby & Jinbo uang 25/07/2008 1 Part 1: Search Lecturer: r Philip Kilby Philip.Kilby@nicta.com.au Weeks 1-71 (Week 7 is assignment seminars) Part 2: Probabilistic
More informationProblem-solving agents. Solving Problems by Searching. Outline. Example: Romania. Chapter 3
Problem-solving agents olving Problems by earching hapter 3 function imple-problem-olving-gent( percept) returns an action static: seq, an action sequence, initially empty state, some description of the
More informationSOLVING PROBLEMS BY SEARCHING
ontents Foundations of rtificial Intelligence 3. olving Problems by earching Problem-olving gents, Formulating Problems, earch trategies Wolfram urgard, ernhard Nebel, and Martin iedmiller lbert-udwigs-universität
More informationProblem Solving as State Space Search. Assignments
Problem olving as tate pace earch rian. Williams 6.0- ept th, 00 lides adapted from: 6.0 Tomas Lozano Perez, Russell and Norvig IM rian Williams, Fall 0 ssignments Remember: Problem et #: Java warm up
More informationCS 331: Artificial Intelligence Uninformed Search. Leftovers from last time
S 331: rtificial Intelligence Uninformed Search 1 Leftovers from last time Discrete/ontinuous Discrete: finite number of values eg. Rating can be thumbs up or down ontinuous: infinite continuum of values
More informationArtificial Intelligence, CS, Nanjing University Spring, 2018, Yang Yu. Lecture 2: Search 1.
rtificial Intelligence, S, Nanjing University Spring, 2018, Yang Yu Lecture 2: Search 1 http://lamda.nju.edu.cn/yuy/course_ai18.ashx Problem in the lecture 7 2 4 51 2 3 5 6 4 5 6 8 3 1 7 8 Start State
More informationA2 Uninformed Search
2 Uninformed Search Hantao Zhang http://www.cs.uiowa.edu/ hzhang/c145 The University of Iowa Department of omputer Science rtificial Intelligence p.1/82 Example: The 8-puzzle 2 8 3 1 7 6 4 5 It can be
More informationExample: The 8-puzzle. A2 Uninformed Search. It can be generalized to 15-puzzle, 24-puzzle, or. (n 2 1)-puzzle for n 6. Department of Computer Science
2 Uninformed Search Hantao Zhang http://www.cs.uiowa.edu/ hzhang/c145 The University of Iowa Department of omputer Science rtificial Intelligence p.1/82 Example: The 8-puzzle 2 1 7 8 3 6 4 5 It can be
More informationCS 331: Artificial Intelligence Uninformed Search. Real World Search Problems
S 331: rtificial Intelligence Uninformed Search 1 Real World Search Problems 2 1 Simpler Search Problems 3 ssumptions bout Our Environment Fully Observable Deterministic Sequential Static Discrete Single-agent
More informationCS 331: Artificial Intelligence Uninformed Search. Real World Search Problems
S 331: rtificial Intelligence Uninformed Search 1 Real World Search Problems 2 1 Simpler Search Problems 3 Static Observable Discrete Deterministic Single-agent ssumptions bout Our Environment 4 2 Search
More informationOutline. Informed Search. Recall: Uninformed Search. An Idea. Heuristics Informed search techniques More on heuristics Iterative improvement
Outline Informed Search EE457 pplied rtificial Intelligence Spring 8 Lecture # Heuristics Informed search techniques More on heuristics Iterative improvement Russell & Norvig, chapter 4 Skip Genetic algorithms
More informationSolving 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 informationUninformed Search. Reading: Chapter 4 (Tuesday, 2/5) HW#1 due next Tuesday
Uninformed Search Reading: Chapter 4 (Tuesday, 2/5) HW#1 due next Tuesday 1 Uninformed Search through the space of possible solutions Use no knowledge about which path is likely to be best Exception: uniform
More informationLogic Programming: Search Strategies
O Logic Programming: earch trategies Alan maill ov 5, 2012 Alan maill Logic Programming: earch trategies ov 5, 2012 1/1 oday Problem representation earch epth irst terative eepening readth irst A/O (alternating/game
More information6.01: Introduction to EECS 1 Week 13 December 1, 2009
6.0: Introduction to Week ecember, 009 6.0: Introduction to I Optimal earch lgorithms The story so far earch domain characterized by successors function, legal actions, start state, goal function. earch
More informationSearch. Intelligent agents. Problem-solving. Problem-solving agents. Road map of Romania. The components of a problem. that will take me to the goal!
Search Intelligent agents Reflex agent Problem-solving agent T65 rtificial intelligence and Lisp Peter alenius petda@ida.liu.se epartment of omputer and Information Science Linköping University Percept
More informationOutline. Solving Problems by Searching. Introduction. Problem-solving agents
Outline Solving Problems by Searching S/ University of Waterloo Sept 7, 009 Problem solving agents and search Examples Properties of search algorithms Uninformed search readth first Depth first Iterative
More informationUninformed Search B. Navigating through a search tree. Navigating through a search tree. Navigating through a search tree
Uninformed Search Russell and Norvig chap. 3 Following this, the pong paddle went on a mission to destroy tari headquarters and, due to a mixup, found himself inside the game The Matrix Reloaded. oy, was
More informationToday More about Trees. Introduction to Computers and Programming. Spanning trees. Generic search algorithm. Prim s algorithm Kruskal s algorithm
Introduction to omputers and Programming Prof. I. K. Lundqvist Lecture 8 pril Today More about Trees panning trees Prim s algorithm Kruskal s algorithm eneric search algorithm epth-first search example
More informationProblem solving and search: Chapter 3, Sections 1 5
Problem solving and search: hapter 3, Sections 1 5 1 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms 2 Problem-solving agents estricted form of
More informationState Transition Graph of 8-Puzzle E W W E W W 3 2 E
rrays. Lists. inary search trees. ash tables. tacks. Queues. tate Transition raph of 8-Puzzle oal: Understand data structures by solving the puzzle problem lementary tructures 4 7 5 6 8 4 6 5 7 8. Trees
More informationProblem solving and search: Chapter 3, Sections 1 5
Problem solving and search: hapter 3, Sections 1 5 S 480 2 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms Problem-solving agents estricted form
More informationMinimum Spanning Trees and Shortest Paths
Minimum Spanning Trees and Shortest Paths Kruskal's lgorithm Prim's lgorithm Shortest Paths pril 04, 018 inda eeren / eoffrey Tien 1 Kruskal's algorithm ata types for implementation Kruskalslgorithm()
More informationWhat is Search? Intro to Search. Search problems. Finding goals in trees. Why is goal search not trivial? Blind Search Methods
What is Search? lind Search Methods Search as an Tool S, DS, DS, US, ids Search is one of the most powerful approaches to problem solving in Search is a universal problem solving mechanism that Systematically
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science Artificial Intelligence Fall, 2010
MSSHUSETTS INSTITUTE OF TEHNOLOY epartment of Electrical Engineering and omputer Science 6.0 rtificial Intelligence Fall, 00 Search Me! Recitation, Thursday September Prof. ob erwick. ifference between
More informationCS 8520: Artificial Intelligence
CS 8520: Artificial Intelligence Solving Problems by Searching Paula Matuszek Spring, 2013 Slides based on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are in turn based on Russell, aima.eecs.berkeley.edu/slides-pdf.
More informationProblem Solving and Searching
Problem Solving and Searching CS 171/ 271 (Chapter 3) Some text and images in these slides were drawn from Russel & Norvig s published material 1 Problem Solving Agent Function 2 Problem Solving Agent
More information6.01: Introduction to EECS I Lecture 13 May 3, 2011
6.0: Introduction to S I Lecture 3 May 3, 20 6.0: Introduction to S I Optimizing a Search Nano-Quiz Makeups Wednesday, May 4, 6-pm, 34-0. everyone can makeup/retake NQ everyone can makeup/retake two additional
More informationAlgorithms for Data Structures: Uninformed Search. Phillip Smith 19/11/2013
lgorithms for Data Structures: Uninformed Search Phillip Smith 19/11/2013 Representations for Reasoning We know (at least) two models of a world: model of the static states of the world model of the effects
More informationLogic Programming: Search Strategies
O Logic Programming: earch trategies Alan maill Oct 19, 2015 Alan maill Logic Programming: earch trategies Oct 19, 2015 1/28 oday Problem representation earch epth irst terative eepening readth irst A/O
More informationCS:4420 Artificial Intelligence
S:4420 rtificial Intelligence Spring 2018 Uninformed Search esare Tinelli The University of Iowa opyright 2004 18, esare Tinelli and Stuart Russell a a These notes were originally developed by Stuart Russell
More informationEE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 3, 4/6/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes 4/6/2005 EE562 1 Today: Basic
More informationMinimum Spanning Trees and Shortest Paths
Minimum Spanning Trees and Shortest Paths Prim's algorithm ijkstra's algorithm November, 017 inda eeren / eoffrey Tien 1 Recall: S spanning tree Starting from vertex 16 9 1 6 10 13 4 3 17 5 11 7 16 13
More informationSet 2: State-spaces and Uninformed Search. ICS 271 Fall 2015 Kalev Kask
Set 2: State-spaces and Uninformed Search ICS 271 Fall 2015 Kalev Kask You need to know State-space based problem formulation State space (graph) Search space Nodes vs. states Tree search vs graph search
More informationAn Early Problem in Graph Theory. Clicker Question 1. Konigsberg and the River Pregel
raphs Topic " Hopefully, you've played around a bit with The Oracle of acon at Virginia and discovered how few steps are necessary to link just about anybody who has ever been in a movie to Kevin acon,
More informationIncremental Path Planning
utline ncremental Path Planning ontinuous Planning and ynamic * ptimal Path Planning in Partially nown nvironments. ontinuous ptimal Path Planning ynamic * ncremental * (RT*) [ppendix] Prof. rian Williams
More informationITCS 6150 Intelligent Systems. Lecture 3 Uninformed Searches
ITCS 6150 Intelligent Systems Lecture 3 Uninformed Searches Outline Problem Solving Agents Restricted form of general agent Problem Types Fully vs. partially observable, deterministic vs. stochastic Problem
More informationUninformed Search B. Navigating through a search tree. Navigating through a search tree. Navigating through a search tree
Uninformed Search Russell and Norvig chap. 3 D E 1 Unexpanded s: the fringe Tree search nitial state t every point in the search process we keep track of a list of s that haven t been expanded yet: the
More informationCS1800: Graph Algorithms (2nd Part) Professor Kevin Gold
S1800: raph lgorithms (2nd Part) Professor Kevin old Summary So ar readth-irst Search (S) and epth-irst Search (S) are two efficient algorithms for finding paths on graphs. S also finds the shortest path.
More informationSearch. (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 informationSolving problems by searching
Solving problems by searching Chapter 3 Systems 1 Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms Systems 2 Problem-solving agents Systems 3 Example:
More informationPlanning and search. Lecture 1: Introduction and Revision of Search. Lecture 1: Introduction and Revision of Search 1
Planning and search Lecture 1: Introduction and Revision of Search Lecture 1: Introduction and Revision of Search 1 Lecturer: Natasha lechina email: nza@cs.nott.ac.uk ontact and web page web page: http://www.cs.nott.ac.uk/
More informationCSC 2114: Artificial Intelligence Search
CSC 2114: Artificial Intelligence Search Ernest Mwebaze emwebaze@cit.ac.ug Office: Block A : 3 rd Floor [Slide Credit Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. Reference materials
More informationClass Overview. Introduction to Artificial Intelligence COMP 3501 / COMP Lecture 2: Search. Problem Solving Agents
Class Overview COMP 3501 / COMP 4704-4 Lecture 2: Search Prof. 1 2 Problem Solving Agents Problem Solving Agents: Assumptions Requires a goal Assume world is: Requires actions Observable What actions?
More informationProblem solving and search
Problem solving and search hapter 3 hapter 3 1 Outline Problem-solving agents Problem types Problem formulation Example problems asic search algorithms hapter 3 3 Restricted form of general agent: Problem-solving
More informationCS 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 informationArtificial Intelligence: Search Part 1: Uninformed graph search
rtificial Intelligence: Search Part 1: Uninformed graph search Thomas Trappenberg January 8, 2009 ased on the slides provided by Russell and Norvig, hapter 3 Search outline Part 1: Uninformed search (tree
More informationSolving problems by searching
Solving problems by searching 1 C H A P T E R 3 Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms Outline 2 Problem-solving agents 3 Note: this is offline
More informationNote. Out of town Thursday afternoon. Willing to meet before 1pm, me if you want to meet then so I know to be in my office
raphs and Trees Note Out of town Thursday afternoon Willing to meet before pm, email me if you want to meet then so I know to be in my office few extra remarks about recursion If you can write it recursively
More informationProblem Solving and Search
Artificial Intelligence Problem Solving and Search Dae-Won Kim School of Computer Science & Engineering Chung-Ang University Outline Problem-solving agents Problem types Problem formulation Example problems
More informationUninformed 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 informationCS 380: Artificial Intelligence Lecture #3
CS 380: Artificial Intelligence Lecture #3 William Regli Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms 1 Problem-solving agents Example: Romania
More informationIntroduction to Graphs. common/notes/ppt/
Introduction to Graphs http://people.cs.clemson.edu/~pargas/courses/cs212/ common/notes/ppt/ Introduction Graphs are a generalization of trees Nodes or verticies Edges or arcs Two kinds of graphs irected
More informationCS-171, Intro to A.I. Final Exam Winter Quarter, 2012
S-171, Intro to.i. Final Exam Winter Quarter, 2012 NME N EMIL RESS: YOUR I: I TO RIGHT: ROW: NO. FROM RIGHT: The exam will begin on the next page. Please, do not turn the page until told. When you are
More informationChapter 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 informationOutline. Solving problems by searching. Problem-solving agents. Example: Romania
Outline Solving problems by searching Chapter 3 Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms Systems 1 Systems 2 Problem-solving agents Example: Romania
More informationSolving problems by searching
Solving problems by searching Chapter 3 CS 2710 1 Outline Problem-solving agents Problem formulation Example problems Basic search algorithms CS 2710 - Blind Search 2 1 Goal-based Agents Agents that take
More informationSearch Methods 9/21/11 MOTIVATION. Artificial Intelligence. Where are we? Outline. Problem Solving as Search
9// Where are we? rtificial Intelligence earch Methods # Title Introduction Propositional Logic Predicate Logic 4 Reasoning 5 earch Methods 6 CommonK 7 Problem-olving Methods 8 Planning 9 oftware gents
More informationBayesian Networks and Decision Graphs
ayesian Networks and ecision raphs hapter 7 hapter 7 p. 1/27 Learning the structure of a ayesian network We have: complete database of cases over a set of variables. We want: ayesian network structure
More informationUninformed Search. CPSC 322 Lecture 5. January 17, 2007 Textbook 2.4. Uninformed Search CPSC 322 Lecture 5, Slide 1
Uninformed Search CPSC 322 Lecture 5 January 17, 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 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 informationAn Early Problem in Graph Theory
raphs Topic 2 " Hopefully, you've played around a bit with The Oracle of acon at Virginia and discovered how few steps are necessary to link just about anybody who has ever been in a movie to Kevin acon,
More informationDownloded from: CSITauthority.blogspot.com
[Unit : Searching] (CSC 355) Central Department of Computer Science & Information Technology Tribhuvan University 1 Searching search problem Figure below contains a representation of a map. The nodes represent
More informationAnnouncements. Project 0: Python Tutorial Due last night
Announcements Project 0: Python Tutorial Due last night HW1 officially released today, but a few people have already started on it Due Monday 2/6 at 11:59 pm P1: Search not officially out, but some have
More informationSolving 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 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 informationProblem: Large Graphs
S : ata Structures raph lgorithms raph Search Lecture Problem: Large raphs It is expensive to find optimal paths in large graphs, using S or ijkstra s algorithm (for weighted graphs) How can we search
More informationUninformed Search Complexity. Informed Search. Search Revisited. Day 2/3 of Search
Informed Search ay 2/3 of Search hap. 4, Ruel & Norvig FS IFS US PFS MEM FS IS Uninformed Search omplexity N = Total number of tate = verage number of ucceor (branching factor) L = Length for tart to goal
More informationPengju XJTU 2016
Introduction to AI Chapter03 Solving Problems by Uninformed Searching(3.1~3.4) Pengju Ren@IAIR Outline Problem-solving agents Problem types Problem formulation Search on Trees and Graphs Uninformed algorithms
More informationSolving problems by searching
Solving problems by searching Chapter 3 Some slide credits to Hwee Tou Ng (Singapore) Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms Heuristics
More informationChapter 2. Blind Search 8/19/2017
Chapter 2 1 8/19/2017 Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms 8/19/2017 2 8/19/2017 3 On holiday in Romania; currently in Arad. Flight leaves tomorrow
More informationSolving 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 informationChapter 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 informationLuke. Leia 2. Han Leia
Reading SE : ata Structures raph lgorithms raph Search hapter.,.,. Lecture raph T raphs are a formalism for representing relationships between objects a graph is represented as = (V, E) Han V is a set
More informationSolving 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 informationWeek 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 informationWhy Search. Things to consider. Example, a holiday in Jamaica. CSE 3401: Intro to Artificial Intelligence Uninformed Search
CSE 3401: Intro to Artificial Intelligence Uninformed Search Why Search Required Readings: R & N Chapter 3, Sec. 1-4. Lecture slides adapted from those of Fahiem Bacchus. Successful Success in game playing
More informationUniformed Search (cont.)
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6 (Textbook finish 3.5) Sept, 16, 2013 CPSC 322, Lecture 6 Slide 1 Lecture Overview Recap DFS vs BFS Uninformed Iterative Deepening (IDS) Search
More informationData Structure Chapter 6
ata Structure hapter Non-inary Trees r. Patrick han School of omputer Science and ngineering South hina University of Technology Outline Non-inary (eneral) Tree (h.) Parent Pointer mplementation (h.) ist
More informationUninformed 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 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 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 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 informationProblem 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