Artificial Intelligence. Chapters Reviews. Readings: Chapters 3-8 of Russell & Norvig.
|
|
- Elinor Poppy Roberts
- 6 years ago
- Views:
Transcription
1 Artificial Intelligence Chapters Reviews Readings: Chapters 3-8 of Russell & Norvig.
2 Topics covered in the midterm Solving problems by searching (Chap. 3) How to formulate a search problem? How to measure a search strategy? What are popular uninformed search strategies? Informed search and exploration (Chap. 4) What are the greedy best-first search and A*? How to design and use a heuristic function? What is local search? Hill-climbing? Simulated annealing? What are Genetic Algorithms?
3 Topics covered in the midterm Adversarial Search What s the minimax algorithm? What s Alpha-Beta pruning? Propositional Logic (Chap ) What are its syntax and semantics? Validity vs. satisfiability? How to obtain CNF? What s the truth-table inference system? What s the inference rule system? What s resolution and its property?
4 Topics covered in the midterm Propositional Satisfiability (SAT) (Chap. 7.6) How to formulate an instance of SAT? What s a backtracking search? What s DIMACS CNF format? How to use local search for SAT? First-order Logic (Chap. 8) What are its syntax and semantics? What are quantifiers and their meaning? What s a model of a FOL sentence? How to use FOL to describe assertions and queries?
5 Topics covered in the midterm Inference in First Order Logic (Chap. 9) What is unification and how to do it? What s resolution? How to use resolution to prove a theorem? What is Prolog? What is the syntax for a Prolog program? What kind of resolution strategies in Prolog?
6 A Technicality The resolution rule alone is not complete. {}}{ For example, the set { P (x) P (y), unsatisfiable. But all we can do is start with P (x) P (y) α P (y) P (y) }{{} γ β {}}{ P (x) P (y)} is P (x) P (y) But then, resolving γ with α, or γ with β leads nowhere. (try it!)
7 Factors Let ϕ be a CNF sentence of the form below where α 1 α 2 are both positive (or negative) literals α 1 α 2 β If ϕ 1, ϕ 2 unify with mgu θ then is a factor of ϕ. θ(α 1 β) Example: P (x) is a factor of P (x) P (y) because P (x), P (y) unify with mgu = {y/x}
8 Too Many Choices! A resolution-based inference system has just one rule to apply to build a proof. However, at any step there may be several possible ways to apply the resolution rule. P ~P \/ Q ~Q \/ R ~R Q ~P \/ R ~Q R R False ~P ~P Several resolution strategies have been developed in order to reduce the search space.
9 Some Resolution Strategies Unit resolution: Unit resolution only. Input resolution: One of the two clauses must be an input clause. Set of support: One of the two clauses must be from a designed set called set of support. New resolvent are added into the set of support. Linear resolution The latest resolvent must be used in the current resolution. Note: The first 3 strategies above are incomplete. The Unit resolution strategy is equivalent to the Input resolution strategy: a proof in one strategy can be converted into a proof in the other strategy.
10 Search Trees in Prolog A search tree is representation of all possible computation paths. All possible proofs of a query are represented in one search tree. Consider, for example, the following program. member(x,[x Ys]). member(x,[y Ys]) :- member(x,ys). The following is a search tree for the goal member(a,[a,b,a]). member(a,[a,b,a]) / \ succ member(a,[b,a]) / \ fail member(a, [a]) / \ succ member(a, []) / \ fail fail
11 Traversing Search Tree Prolog traverses a search tree in a depth-first manner. We may not find a proof even if one exists, because depth-first search is an incomplete search procedure. The order of clauses and the order of literals in a clause decide the structure of the search tree. Different goal orders result in search trees with different structures. Consider the following example q(a). p(s(y)) :- p(y). The results for query p(x), q(x) and query q(x), p(x) are quite different. Changes in rule order permutes the branches of the search tree. When writing Prolog program, make sure a successful path in the search tree appears before any infinite search tree path.
12 Unification in Prolog A query?- test. will succeed for the following program: less(x,succ(x)). test :- less(y,y). Why? This because Prolog uses an unsound unification algorithm: The occur check is omitted for the purpose of efficiency. occur check: If v =? t and v occurs in t, then failure. Another Example: An infinite loop for the query test. test :- leq(y,y). leq(x,s(x)) :- leq(x,x).
13 Resolution Strategies in Prolog Set of support: The query (negative clauses) is the only clause in the set of support. Input strategy: One of the two clauses must be an input clause. Linear strategy: Only one resolvent is saved at any time. The literals in the resolvent is organized as a stack: First In, Last Out. The clauses are treated in the order they are listed. The literals in one clause are treated in the order from left to right. Note: The first three strategies are equivalent for Horn clauses.
14 Exercise Problems Chap. 3: 1, 3, 6, 7, 9, 11, 13, 17. Chap. 4: 2, 3, 4, 9, 11, 12, 15. Chap. 6: 2, 3, 15. Chap. 7: 3, 4, 5, 6, 8, 12. Chap. 8: 2, 3, 4, 6, 7, 8, 10, 11, 15
15 Exercise 3.1 Define in your own words the following items: state, state space, search tree, search node, action, successor function, and branching factor.
16 Exercise 3.1 State: A condition of (a problem or an agent) being in a stage or form State space: A collection of all states Action: An act which causes a state to change to another state, called successor. Successor function: returns all the successors of a state Branching factor: The maximum number of successors of any state Search tree: A graphical representation of the order of successors explored from the initial state. Search node: A node in the search tree which contains the information of a state and its location in the tree.
17 Exercise 3.3 Suppose that LEGAL-ACTION(s) denotes the set of actions that are legal in state s, and RESULT(a, s) denotes the state that results from performing a legal action a in state s. Define SUCCESSOR-FN in terms of LEGAL-ACTIONS and RESULT, and vice versa.
18 Exercise 3.3 Suppose that LEGAL-ACTION(s) denotes the set of actions that are legal in state s, and RESULT(a, s) denotes the state that results from performing a legal action a in state s. Define SUCCESSOR-FN in terms of LEGAL-ACTIONS and RESULT, and vice versa. SUCCESSOR-FN(s) = { RESULT(a, s) a LEGAL-ACTIONS(s) } LEGAL-ACTIONS(s) = {a RESULT(a, s) SUCCESSOR-FN(s) }
19 Exercise 3.6 Does a finite state space always lead to a finite search tree? How about a finite state space that is a tree? Can you be more precise about what types of state spaces always lead to finite search trees?
20 Exercise 3.6 Does a finite state space always lead to a finite search tree? No. Without checking duplicates in a path, a loop may occur. How about a finite state space that is a tree? Yes. Can you be more precise about what types of state spaces always lead to finite search trees? Acyclic graphs of successor relations will always lead to finite search trees. Finite state space with duplicate checking in a path will always lead to finite search trees.
21 Exercise 3.7b A 3-foot-tall monkey is in a room where some bananas are suspended from the 8-foot ceiling. Hw would like to get the bananas. The room contains two stackable, movable, climbing 3-foot-high crates. initial state goal test successor function cost function
22 Exercise 3.7b initial state: Initially, four objects, m (monkey), b (bananas), c 1 (crate1), c 2 (crate2), are at four different locations l 1, l 2, l 3, and l 4, respectively. We use (l 1, l 2, l 3, l 4 ) as the initial state. goal test: To get bananas, crate2 must be at location l 2 ; crate1 must be on top of crate2 (c 2 ); monkey must be on top of crate1 (c 1 ). That is, the goal state is (c 1, l 2, c 2, l 2 ). Switching crate1 and crate2, we have another goal state: (c 2, l 2, l 2, c 1 ). successor function: There are many. 1. s((l 1, l 2, l 3, l 4 )) = {(l 2, l 2, l 3, l 4 ), (l 3, l 2, l 3, l 4 ), (l 4, l 2, l 3, l 4 )} 2. s((l 3, l 2, l 3, l 4 )) = {(l 2, l 2, l 2, l 4 ),...} 3. s((l 2, l 2, l 2, l 4 )) = {(l 4, l 2, l 2, l 4 ),...} 4. s((l 4, l 2, l 2, l 4 )) = {(l 2, l 2, l 2, l 2 ),...} 5. s((l 2, l 2, l 2, l 2 )) = {(l 2, l 2, c 2, l 2 ),...} cost function: 1 for each action.
23 Exercise 3.9 The missionaries and cannibals problem is usually stated as follows. Three missionaries and three cannibals are on one side of a river, along with a boat that can hold one or two people. Find a way to get everyone to the other side, without ever leaving a group of missionaries in one placeoutnumered by the cannibals in that place. a. Formulate the problem precisely, making only those distinctions necessary to ensure a valid solution....
24 Exercise 3.9a states: { b, m, c b {0, 1}, 0 m 3, 0 c 3, (m = c m {0, 1})} initial state: 1, 3, 3 goal test: 0, 0, 0 successor function: There are not many. a solution: 1, 3, 3 0, 3, 1 1, 3, 2 0, 3, 0 1, 3, 1 0, 1, 1 1, 2, 2 0, 0, 2 1, 0, 3 0, 0, 1 1, 0, 2 0, 0, 0
25 iterative lengthening search Exercise 3.11 a Show that this algorithm is optimal for general path costs. b How many iterations for solution depth d and unit step costs? c If the minumum possible cost is ɛ, how many iterations are required in the worst case? d...
26 Exercise 3.13 Describe a state space in which iterative deepening search performs much worse than depth-first search (for example, O(n 2 ) vs. O(n)).
27 Exercise 3.17 Let us consider that actions can have negative costs. a If the negative costs are arbitrarily large, explain why this will force any optiomal algorithms to explore the entire state space. b Does it help if we know the negative costs are not smaller than a negative constant c? c... d... e...
28 Exercise 4.2 The heuristic path algorithm is a best-first search in which the objectiv e function is f(n) = (2 w)g(n) + wh(n). for what values of w is this algorithm guaranteed to be optimal? What kind of search does this perform when w = 0? When w = 1? When w = 2?
29 Exercise 4.3 Prove each of the following statements: a Breadth-first search is a special case of uniform-cost search. b Breadth-first search, depth-first search, and uniform-cost search are special cases of best-first search. c Uniform-cost search is a special case of A search.
30 Exercise 4.4 Devise a state space in which A using GRAPTH-SEARCH returns a suboptiomal solution with an h(n) function that is admissible but inconsistent.
31 Exercise 4.9 One of the relaxatio of the 8-puzzle in which a tile can move from square A to square B if B is blank. Explain why this heuristic is at least as accurate as h 1 (misplaced tiles), and show cases where it is more accurate than both h 1 and h 2 (Manhattan distance).
32 Exercise 4.11 Give the name of the algorithm that results from each of the following special cases: a Local beam search with k = 1. b Local beam search with k =. c Simulated annealing with T = 0 (supposing no termination) at all times. c Genetic algorithm with population size N = 1.
33 Exercise 4.12 Sometimes there is no good evalution function for a problem, but there is a good comparison method: a way to tell whether one node is better than another, without assigning numerical values to either. Show that this is enough to do a best-first search. Is there an analog of A?
34 Exercise 4.15a Devise a hill-climbing approach to solve TSP.
35 Exercise 6.3 Draw the complete game tree: Write each state as (s A, s B ) where s A and s B denote the token locations. Put each terminal state in square boxes and write its game value in a circle. Put loop states (states that already appear on the path to the root) in double square boxes.
36 Exercise 6.15 Describe how the minimax and alpha-beta algorithms change for two-player, non-zero-sum games in which each player has his or her own utility function. You may assume that each player knows the other s utility function. Is it possible for any node to be pruned by alpha-beta?
Informed Search and Exploration
Artificial Intelligence Informed Search and Exploration Readings: Chapter 4 of Russell & Norvig. Best-First Search Idea: use a function f for each node n to estimate of desirability Strategy: Alwasy expand
More informationCS 416, Artificial Intelligence Midterm Examination Fall 2004
CS 416, Artificial Intelligence Midterm Examination Fall 2004 Name: This is a closed book, closed note exam. All questions and subquestions are equally weighted. Introductory Material 1) True or False:
More informationUniversity of Waterloo Department of Electrical and Computer Engineering ECE 457A: Cooperative and Adaptive Algorithms Midterm Examination
University of Waterloo Department of Electrical and Computer Engineering ECE 457A: Cooperative and Adaptive Algorithms Midterm Examination Exam Date/Time: Tuesday, June 13, 2017, 8:30-9:50 pm Exam Hall:
More informationPotential Midterm Exam Questions
Potential Midterm Exam Questions 1. What are the four ways in which AI is usually viewed? Which of the four is the preferred view of the authors of our textbook? 2. What does each of the lettered items
More informationProblem Solving and Search in Artificial Intelligence
Problem Solving and Search in Artificial Intelligence Uninformed Search Strategies Nysret Musliu Database and Artificial Intelligence Group Institut für Informationssysteme, TU-Wien Introduction Many classic
More informationCS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2013
CS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2013 YOUR NAME AND ID NUMBER: YOUR ID: ID TO RIGHT: ROW: NO. FROM RIGHT: The exam will begin on the next page. Please, do not turn the page until told.
More informationArtificial Intelligence
Artificial Intelligence Informed Search and Exploration Chapter 4 (4.1 4.2) A General Search algorithm: Chapter 3: Search Strategies Task : Find a sequence of actions leading from the initial state to
More informationMidterm Examination CS 540-2: Introduction to Artificial Intelligence
Midterm Examination CS 54-2: Introduction to Artificial Intelligence March 9, 217 LAST NAME: FIRST NAME: Problem Score Max Score 1 15 2 17 3 12 4 6 5 12 6 14 7 15 8 9 Total 1 1 of 1 Question 1. [15] State
More informationIntroduction to Spring 2007 Artificial Intelligence Midterm Solutions
NAME: SID#: Login: Sec: CS 88 Introduction to Spring 2007 Artificial Intelligence Midterm Solutions You have 80 minutes. There are five questions with equal points. Look at all the five questions and answer
More informationSearching. Assume goal- or utilitybased. Next task to achieve is to determine the best path to the goal
Searching Assume goal- or utilitybased agents: state information ability to perform actions goals to achieve Next task to achieve is to determine the best path to the goal CSC384 Lecture Slides Steve Engels,
More informationOutline. Best-first search
Outline Best-first search Greedy best-first search A* search Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing search Genetic algorithms Constraint Satisfaction Problems
More informationQuestion 1: 25% of students lost more than 2 points Question 2: 50% of students lost 2-4 points; 50% got it entirely correct Question 3: 95% of
Question 1: 25% of students lost more than 2 points Question 2: 50% of students lost 2-4 points; 50% got it entirely correct Question 3: 95% of students got this problem entirely correct Question 4: Only
More informationINTRODUCTION TO HEURISTIC SEARCH
INTRODUCTION TO HEURISTIC SEARCH What is heuristic search? Given a problem in which we must make a series of decisions, determine the sequence of decisions which provably optimizes some criterion. What
More informationCSCI-630 Foundations of Intelligent Systems Fall 2015, Prof. Zanibbi
CSCI-630 Foundations of Intelligent Systems Fall 2015, Prof. Zanibbi Midterm Examination Name: October 16, 2015. Duration: 50 minutes, Out of 50 points Instructions If you have a question, please remain
More informationSearch. CS 3793/5233 Artificial Intelligence Search 1
CS 3793/5233 Artificial Intelligence 1 Basics Basics State-Space Problem Directed Graphs Generic Algorithm Examples Uninformed is finding a sequence of actions that achieve a goal from an initial state.
More informationInformed 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 informationCS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2017
CS-171, Intro to A.I. Mid-term Exam Fall Quarter, 2017 YOUR NAME: YOUR ID: ID TO RIGHT: ROW: SEAT: Please turn off all cell phones now. The exam will begin on the next page. Please, do not turn the page
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 informationOutline. Best-first search
Outline Best-first search Greedy best-first search A* search Heuristics Admissible Heuristics Graph Search Consistent Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing
More informationCSC384 Midterm Sample Questions
CSC384 Midterm Sample Questions Fall 2016 1 Search Short Answer 1. It would seem that iterative deepening search should have a higher asymptotic time complexity than breadth-first search because every
More informationInformed Search Algorithms. Chapter 4
Informed Search Algorithms Chapter 4 Outline Informed Search and Heuristic Functions For informed search, we use problem-specific knowledge to guide the search. Topics: Best-first search A search Heuristics
More informationDownloaded from ioenotes.edu.np
Chapter- 3: Searching - Searching the process finding the required states or nodes. - Searching is to be performed through the state space. - Search process is carried out by constructing a search tree.
More informationArtificial Intelligence
Artificial Intelligence Search Marc Toussaint University of Stuttgart Winter 2015/16 (slides based on Stuart Russell s AI course) Outline Problem formulation & examples Basic search algorithms 2/100 Example:
More informationMidterm Examination CS540-2: Introduction to Artificial Intelligence
Midterm Examination CS540-2: Introduction to Artificial Intelligence March 15, 2018 LAST NAME: FIRST NAME: Problem Score Max Score 1 12 2 13 3 9 4 11 5 8 6 13 7 9 8 16 9 9 Total 100 Question 1. [12] Search
More informationUninformed Search Methods. Informed Search Methods. Midterm Exam 3/13/18. Thursday, March 15, 7:30 9:30 p.m. room 125 Ag Hall
Midterm Exam Thursday, March 15, 7:30 9:30 p.m. room 125 Ag Hall Covers topics through Decision Trees and Random Forests (does not include constraint satisfaction) Closed book 8.5 x 11 sheet with notes
More information3 SOLVING PROBLEMS BY SEARCHING
48 3 SOLVING PROBLEMS BY SEARCHING A goal-based agent aims at solving problems by performing actions that lead to desirable states Let us first consider the uninformed situation in which the agent is not
More informationInformed search algorithms
Artificial Intelligence Topic 4 Informed search algorithms Best-first search Greedy search A search Admissible heuristics Memory-bounded search IDA SMA Reading: Russell and Norvig, Chapter 4, Sections
More information2006/2007 Intelligent Systems 1. Intelligent Systems. Prof. dr. Paul De Bra Technische Universiteit Eindhoven
test gamma 2006/2007 Intelligent Systems 1 Intelligent Systems Prof. dr. Paul De Bra Technische Universiteit Eindhoven debra@win.tue.nl 2006/2007 Intelligent Systems 2 Informed search and exploration Best-first
More informationArtificial Intelligence
Artificial Intelligence Lesson 1 1 About Lecturer: Prof. Sarit Kraus TA: Galit Haim: haimga@cs.biu.ac.il (almost) All you need can be found on the course website: http://u.cs.biu.ac.il/~haimga/teaching/ai/
More informationArtificial Intelligence CS 6364
Artificial Intelligence CS 6364 Professor Dan Moldovan Section 4 Informed Search and Adversarial Search Outline Best-first search Greedy best-first search A* search Heuristics revisited Minimax search
More informationSRI VIDYA COLLEGE OF ENGINEERING & TECHNOLOGY REPRESENTATION OF KNOWLEDGE PART A
UNIT II REPRESENTATION OF KNOWLEDGE PART A 1. What is informed search? One that uses problem specific knowledge beyond the definition of the problem itself and it can find solutions more efficiently than
More informationEE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 4, 4/11/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes Today: Informed search algorithms
More informationIntroduction 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 informationToday. CS 188: Artificial Intelligence Fall Example: Boolean Satisfiability. Reminder: CSPs. Example: 3-SAT. CSPs: Queries.
CS 188: Artificial Intelligence Fall 2007 Lecture 5: CSPs II 9/11/2007 More CSPs Applications Tree Algorithms Cutset Conditioning Today Dan Klein UC Berkeley Many slides over the course adapted from either
More informationExpert Systems (Graz) Heuristic Search (Klagenfurt) - Search -
Expert Systems (Graz) Heuristic Search (Klagenfurt) - Search - Institut für Softwaretechnologie Inffeldgasse 16b/2 A-8010 Graz Austria 1 References Skriptum (TU Wien, Institut für Informationssysteme,
More informationChapters 3-5 Problem Solving using Search
CSEP 573 Chapters 3-5 Problem Solving using Search First, they do an on-line search CSE AI Faculty Example: The 8-puzzle Example: The 8-puzzle 1 2 3 8 4 7 6 5 1 2 3 4 5 6 7 8 2 Example: Route Planning
More informationSearching: Where it all begins...
Searching: Where it all begins... CPSC 433 Christian Jacob Dept. of Computer Science Dept. of Biochemistry & Molecular Biology University of Calgary Problem Solving by Searching 1. Introductory Concepts
More informationCS 540: Introduction to Artificial Intelligence
CS 540: Introduction to Artificial Intelligence Final Exam: 12:25-2:25pm, December 17, 2014 Room 132 Noland CLOSED BOOK (two sheets of notes and a calculator allowed) Write your answers on these pages
More informationProblem Solving & Heuristic Search
190.08 Artificial 2016-Spring Problem Solving & Heuristic Search Byoung-Tak Zhang School of Computer Science and Engineering Seoul National University 190.08 Artificial (2016-Spring) http://www.cs.duke.edu/courses/fall08/cps270/
More informationInformed Search Methods
Informed Search Methods How can we improve searching strategy by using intelligence? Map example: Heuristic: Expand those nodes closest in as the crow flies distance to goal 8-puzzle: Heuristic: Expand
More informationArtificial Intelligence p.1/49. n-queens. Artificial Intelligence p.2/49. Initial state: the empty board or a board with n random
Example: n-queens Put n queens on an n n board with no two queens on the same row, column, or diagonal A search problem! State space: the board with 0 to n queens Initial state: the empty board or a board
More informationInformed search algorithms. Chapter 4
Informed search algorithms Chapter 4 Material Chapter 4 Section 1 - Exclude memory-bounded heuristic search 3 Outline Best-first search Greedy best-first search A * search Heuristics Local search algorithms
More informationCS 188: Artificial Intelligence. Recap Search I
CS 188: Artificial Intelligence Review of Search, CSPs, Games DISCLAIMER: It is insufficient to simply study these slides, they are merely meant as a quick refresher of the high-level ideas covered. You
More informationIntegrity Constraints (Chapter 7.3) Overview. Bottom-Up. Top-Down. Integrity Constraint. Disjunctive & Negative Knowledge. Proof by Refutation
CSE560 Class 10: 1 c P. Heeman, 2010 Integrity Constraints Overview Disjunctive & Negative Knowledge Resolution Rule Bottom-Up Proof by Refutation Top-Down CSE560 Class 10: 2 c P. Heeman, 2010 Integrity
More informationAI: Week 2. Tom Henderson. Fall 2014 CS 5300
AI: Week 2 Tom Henderson Fall 2014 What s a Problem? Initial state Actions Transition model Goal Test Path Cost Does this apply to: Problem: Get A in CS5300 Solution: action sequence from initial to goal
More informationLast time: Problem-Solving
Last time: Problem-Solving Problem solving: Goal formulation Problem formulation (states, operators) Search for solution Problem formulation: Initial state??? 1 Last time: Problem-Solving Problem types:
More informationCS 380/480 Foundations of Artificial Intelligence Winter 2007 Assignment 2 Solutions to Selected Problems
CS 380/480 Foundations of Artificial Intelligence Winter 2007 Assignment 2 Solutions to Selected Problems 1. Search trees for the state-space graph given below: We only show the search trees corresponding
More informationExam Topics. Search in Discrete State Spaces. What is intelligence? Adversarial Search. Which Algorithm? 6/1/2012
Exam Topics Artificial Intelligence Recap & Expectation Maximization CSE 473 Dan Weld BFS, DFS, UCS, A* (tree and graph) Completeness and Optimality Heuristics: admissibility and consistency CSPs Constraint
More information(QiuXin Hui) 7.2 Given the following, can you prove that the unicorn is mythical? How about magical? Horned? Decide what you think the right answer
(QiuXin Hui) 7.2 Given the following, can you prove that the unicorn is mythical? How about magical? Horned? Decide what you think the right answer is yourself, then show how to get the answer using both
More informationInformed search algorithms. Chapter 4
Informed search algorithms Chapter 4 Outline Best-first search Greedy best-first search A * search Heuristics Memory Bounded A* Search Best-first search Idea: use an evaluation function f(n) for each node
More informationChapter 3: Informed Search and Exploration. Dr. Daisy Tang
Chapter 3: Informed Search and Exploration Dr. Daisy Tang Informed Search Definition: Use problem-specific knowledge beyond the definition of the problem itself Can find solutions more efficiently Best-first
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 informationInformed (heuristic) search (cont). Constraint-satisfaction search.
CS 1571 Introduction to AI Lecture 5 Informed (heuristic) search (cont). Constraint-satisfaction search. Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Administration PS 1 due today Report before
More informationCOMP9414: 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 information4 INFORMED SEARCH AND EXPLORATION. 4.1 Heuristic Search Strategies
55 4 INFORMED SEARCH AND EXPLORATION We now consider informed search that uses problem-specific knowledge beyond the definition of the problem itself This information helps to find solutions more efficiently
More informationHeuristic (Informed) Search
Heuristic (Informed) Search (Where we try to choose smartly) R&N: Chap., Sect..1 3 1 Search Algorithm #2 SEARCH#2 1. INSERT(initial-node,Open-List) 2. Repeat: a. If empty(open-list) then return failure
More informationThe exam is closed book, closed calculator, and closed notes except your one-page crib sheet.
CS Summer Introduction to Artificial Intelligence Midterm You have approximately minutes. The exam is closed book, closed calculator, and closed notes except your one-page crib sheet. Mark your answers
More informationCOMP9414: 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 informationDIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 23 January, 2018
DIT411/TIN175, Artificial Intelligence Chapters 3 4: More search algorithms CHAPTERS 3 4: MORE SEARCH ALGORITHMS DIT411/TIN175, Artificial Intelligence Peter Ljunglöf 23 January, 2018 1 TABLE OF CONTENTS
More 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 informationA4B36ZUI - Introduction ARTIFICIAL INTELLIGENCE
A4B36ZUI - Introduction to ARTIFICIAL INTELLIGENCE https://cw.fel.cvut.cz/wiki/courses/a4b33zui/start Michal Pechoucek, Branislav Bosansky, Jiri Klema & Olga Stepankova Department of Computer Science Czech
More informationCS 540: Introduction to Artificial Intelligence
CS 540: Introduction to Artificial Intelligence Midterm Exam: 7:15-9:15 pm, October, 014 Room 140 CS Building CLOSED BOOK (one sheet of notes and a calculator allowed) Write your answers on these pages
More informationAdvanced A* Improvements
Advanced A* Improvements 1 Iterative Deepening A* (IDA*) Idea: Reduce memory requirement of A* by applying cutoff on values of f Consistent heuristic function h Algorithm IDA*: 1. Initialize cutoff to
More informationIntroduction to Fall 2014 Artificial Intelligence Midterm Solutions
CS Introduction to Fall Artificial Intelligence Midterm Solutions INSTRUCTIONS You have minutes. The exam is closed book, closed notes except a one-page crib sheet. Please use non-programmable calculators
More informationSection Marks Pre-Midterm / 32. Logic / 29. Total / 100
Name: CS 331 Final Exam Spring 2011 You have 110 minutes to complete this final exam. You are only allowed to use your textbook, your notes, your assignments and solutions to those assignments during this
More informationDFS. Depth-limited Search
DFS Completeness? No, fails in infinite depth spaces or spaces with loops Yes, assuming state space finite. Time complexity? O(b m ), terrible if m is much bigger than d. can do well if lots of goals Space
More informationSolving 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 informationArtificial Intelligence
Artificial Intelligence Exercises & Solutions Chapters -4: Search methods. Search Tree. Draw the complete search tree (starting from S and ending at G) of the graph below. The numbers beside the nodes
More informationAnnouncements. CS 188: Artificial Intelligence Fall Reminder: CSPs. Today. Example: 3-SAT. Example: Boolean Satisfiability.
CS 188: Artificial Intelligence Fall 2008 Lecture 5: CSPs II 9/11/2008 Announcements Assignments: DUE W1: NOW P1: Due 9/12 at 11:59pm Assignments: UP W2: Up now P2: Up by weekend Dan Klein UC Berkeley
More informationCS 188: Artificial Intelligence Fall 2008
CS 188: Artificial Intelligence Fall 2008 Lecture 5: CSPs II 9/11/2008 Dan Klein UC Berkeley Many slides over the course adapted from either Stuart Russell or Andrew Moore 1 1 Assignments: DUE Announcements
More informationInformed Search and Exploration
Informed Search and Exploration Chapter 4 (4.1-4.3) CS 2710 1 Introduction Ch.3 searches good building blocks for learning about search But vastly inefficient eg: Can we do better? Breadth Depth Uniform
More informationCS 540-1: Introduction to Artificial Intelligence
CS 540-1: Introduction to Artificial Intelligence Exam 1: 7:15-9:15pm, October 11, 1995 CLOSED BOOK (one page of notes allowed) Write your answers on these pages and show your work. If you feel that a
More informationResolution (14A) Young W. Lim 6/14/14
Copyright (c) 2013-2014. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free
More informationArtificial Intelligence
Artificial Intelligence Information Systems and Machine Learning Lab (ISMLL) Tomáš Horváth 10 rd November, 2010 Informed Search and Exploration Example (again) Informed strategy we use a problem-specific
More informationReview Agents ( ) Review State Space Search
Review Agents (2.1-2.3) Review State Space Search Mid-term Review Chapters 2-7 Problem Formulation (3.1, 3.3) Blind (Uninformed) Search (3.4) Heuristic Search (3.5) Local Search (4.1, 4.2) Review Adversarial
More informationDr. Mustafa Jarrar. Chapter 4 Informed Searching. Artificial Intelligence. Sina Institute, University of Birzeit
Lecture Notes on Informed Searching University of Birzeit, Palestine 1 st Semester, 2014 Artificial Intelligence Chapter 4 Informed Searching Dr. Mustafa Jarrar Sina Institute, University of Birzeit mjarrar@birzeit.edu
More informationARTIFICIAL INTELLIGENCE LECTURE 3. Ph. D. Lect. Horia Popa Andreescu rd year, semester 5
ARTIFICIAL INTELLIGENCE LECTURE 3 Ph. D. Lect. Horia Popa Andreescu 2012-2013 3 rd year, semester 5 The slides for this lecture are based (partially) on chapter 4 of the Stuart Russel Lecture Notes [R,
More informationRobot Programming with Lisp
6. Search Algorithms Gayane Kazhoyan (Stuart Russell, Peter Norvig) Institute for University of Bremen Contents Problem Definition Uninformed search strategies BFS Uniform-Cost DFS Depth-Limited Iterative
More informationKnowledge Representation. CS 486/686: Introduction to Artificial Intelligence
Knowledge Representation CS 486/686: Introduction to Artificial Intelligence 1 Outline Knowledge-based agents Logics in general Propositional Logic& Reasoning First Order Logic 2 Introduction So far we
More informationSolving Problems: Intelligent Search
Solving Problems: Intelligent Search Instructor: B. John Oommen Chancellor s Professor Fellow: IEEE; Fellow: IAPR School of Computer Science, Carleton University, Canada The primary source of these notes
More informationLecture 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 informationCS 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 informationHomework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon)
CS121 Introduction to Artificial Intelligence Winter 2011 Homework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon) How to complete
More informationCS 188: Artificial Intelligence Spring Today
CS 188: Artificial Intelligence Spring 2006 Lecture 7: CSPs II 2/7/2006 Dan Klein UC Berkeley Many slides from either Stuart Russell or Andrew Moore Today More CSPs Applications Tree Algorithms Cutset
More informationmywbut.com Informed Search Strategies-I
Informed Search Strategies-I 1 3.1 Introduction We have outlined the different types of search strategies. In the earlier chapter we have looked at different blind search strategies. Uninformed search
More informationArtificial Intelligence Informed search. Peter Antal
Artificial Intelligence Informed search Peter Antal antal@mit.bme.hu 1 Informed = use problem-specific knowledge Which search strategies? Best-first search and its variants Heuristic functions? How to
More informationArtificial Intelligence
COMP224 Artificial Intelligence The Meaning of earch in AI The terms search, search space, search problem, search algorithm are widely used in computer science and especially in AI. In this context the
More informationCS:4420 Artificial Intelligence
CS:4420 Artificial Intelligence Spring 2018 Informed Search Cesare Tinelli The University of Iowa Copyright 2004 18, Cesare Tinelli and Stuart Russell a a These notes were originally developed by Stuart
More informationSearching with Partial Information
Searching with Partial Information Above we (unrealistically) assumed that the environment is fully observable and deterministic Moreover, we assumed that the agent knows what the effects of each action
More informationState Spaces
Unit-2: CONTENT: Introduction to Search: Searching for solutions, Uninformed search strategies, Informed search strategies, Local search algorithms and optimistic problems, Adversarial Search, Search for
More informationInformed Search. Best-first search. Greedy best-first search. Intelligent Systems and HCI D7023E. Romania with step costs in km
Informed Search Intelligent Systems and HCI D7023E Lecture 5: Informed Search (heuristics) Paweł Pietrzak [Sec 3.5-3.6,Ch.4] A search strategy which searches the most promising branches of the state-space
More informationOutline. Informed Search. Recall: Uninformed Search. An Idea. Heuristics Informed search techniques More on heuristics Iterative improvement
Outline Informed Search ECE457 Applied Artificial Intelligence Fall 2007 Lecture #3 Heuristics Informed search techniques More on heuristics Iterative improvement Russell & Norvig, chapter 4 Skip Genetic
More informationArtificial Intelligence
Artificial Intelligence Dr Ahmed Rafat Abas Computer Science Dept, Faculty of Computers and Informatics, Zagazig University arabas@zu.edu.eg http://www.arsaliem.faculty.zu.edu.eg/ Informed search algorithms
More informationPROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE
Artificial Intelligence, Computational Logic PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE Lecture 2 Uninformed Search vs. Informed Search Sarah Gaggl Dresden, 28th April 2015 Agenda 1 Introduction
More informationARTIFICIAL INTELLIGENCE. Informed search
INFOB2KI 2017-2018 Utrecht University The Netherlands ARTIFICIAL INTELLIGENCE Informed search Lecturer: Silja Renooij These slides are part of the INFOB2KI Course Notes available from www.cs.uu.nl/docs/vakken/b2ki/schema.html
More 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 informationHeuristic (Informed) Search
Heuristic (Informed) Search (Where we try to choose smartly) R&N: Chap. 4, Sect. 4.1 3 1 Recall that the ordering of FRINGE defines the search strategy Search Algorithm #2 SEARCH#2 1. INSERT(initial-node,FRINGE)
More informationInformed/Heuristic Search
Informed/Heuristic Search Outline Limitations of uninformed search methods Informed (or heuristic) search uses problem-specific heuristics to improve efficiency Best-first A* Techniques for generating
More informationLecture 9. Heuristic search, continued. CS-424 Gregory Dudek
Lecture 9 Heuristic search, continued A* revisited Reminder: with A* we want to find the best-cost (C ) path to the goal first. To do this, all we have to do is make sure our cost estimates are less than
More informationA.I.: Informed Search Algorithms. Chapter III: Part Deux
A.I.: Informed Search Algorithms Chapter III: Part Deux Best-first search Greedy best-first search A * search Heuristics Outline Overview Informed Search: uses problem-specific knowledge. General approach:
More information