Review Test1. Robotics & Future Technology Future of Intelligent Systems / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

Constraint Satisfaction Problems Russell and Norvig: Chapter
Constraint Satisfaction Problems (Chapter 6). What is search for? Assumptions: single agent, deterministic, fully observable, discrete environment Search.
Constraint Satisfaction Problems
This lecture topic (two lectures) Chapter 6.1 – 6.4, except
Lecture 11 Last Time: Local Search, Constraint Satisfaction Problems Today: More on CSPs.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
This lecture topic (two lectures) Chapter 6.1 – 6.4, except 6.3.3
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Constraint Satisfaction problems (CSP)
Review: Constraint Satisfaction Problems How is a CSP defined? How do we solve CSPs?
Lecture 5: Constraint Satisfaction
Constraint Satisfaction Problems. Constraint satisfaction problems (CSPs) Standard search problem: – State is a “black box” – any data structure that.
Constraint Satisfaction Problems
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Artificial Intelligence Constraint satisfaction Chapter 5, AIMA.
Constraint Satisfaction Problems
Constraint Satisfaction
CAP 492 Course Dr. Souham Meshoul 1 CONSTRAINT SATISFACTION PROBLEMS Chapter 5.
Constraint Satisfaction Problem Solving Chapter 5.
Chapter 5 Outline Formal definition of CSP CSP Examples
Constraint Satisfaction Problems
Constraint Satisfaction Problems
Constraint Satisfaction Problems
ISC 4322/6300 – GAM 4322 Artificial Intelligence Lecture 4 Constraint Satisfaction Problems Instructor: Alireza Tavakkoli September 17, 2009 University.
1 Constraint Satisfaction Problems Slides by Prof WELLING.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
CSPs Tamara Berg CS 560 Artificial Intelligence Many slides throughout the course adapted from Svetlana Lazebnik, Dan Klein, Stuart Russell, Andrew Moore,
CSPs Tamara Berg CS Artificial Intelligence Many slides throughout the course adapted from Svetlana Lazebnik, Dan Klein, Stuart Russell, Andrew.
Constraint Satisfaction Problems Chapter 6. Review Agent, Environment, State Agent as search problem Uninformed search strategies Informed (heuristic.
Constraint Satisfaction Read Chapter 5. Model Finite set of variables: X1,…Xn Variable Xi has values in domain Di. Constraints C1…Cm. A constraint specifies.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
CSC 8520 Spring Paula Matuszek Based on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are based on Russell, aima.eecs.berkeley.edu/slides-pdf.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
CSC 423 ARTIFICIAL INTELLIGENCE Constraint Satisfaction Problems.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
CSC 8520 Spring Paula Matuszek CS 8520: Artificial Intelligence Search 3: Constraint Satisfaction Problems Paula Matuszek Spring, 2013.
Chapter 5 Constraint Satisfaction Problems
Constraint Satisfaction Problems (Chapter 6)
An Introduction to Artificial Intelligence Lecture 5: Constraint Satisfaction Problems Ramin Halavati In which we see how treating.
1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3 Grand Challenge:
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
Constraint Satisfaction Problems University of Berkeley, USA
Constraint Satisfaction Problems Chapter 6. Outline CSP? Backtracking for CSP Local search for CSPs Problem structure and decomposition.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Computing & Information Sciences Kansas State University Friday, 08 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 7 of 42 Friday, 08 September.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
Constraint Satisfaction CSE 473 University of Washington.
Dr. Shazzad Hosain Department of EECS North South University Lecture 01 – Part C Constraint Satisfaction Problems.
1 Constraint Satisfaction Problems (CSP). Announcements Second Test Wednesday, April 27.
Constraint Satisfaction Problems
ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information Systems.
CS 561, Session 8 1 This time: constraint satisfaction - Constraint Satisfaction Problems (CSP) - Backtracking search for CSPs - Local search for CSPs.
Constraint Satisfaction Problems (Chapter 6)
ECE 448, Lecture 7: Constraint Satisfaction Problems
Constraint Satisfaction Problems (CSPs)
Constraint Satisfaction Problems Lecture # 14, 15 & 16
Constraint Satisfaction Problems
Artificial Intelligence
Constraints and Search
Constraint satisfaction problems
Constraint Satisfaction Problems. A Quick Overview
CS 8520: Artificial Intelligence
Constraint Satisfaction Problems
Constraint satisfaction problems
Constraint Satisfaction Problems (CSP)
Presentation transcript:

Review Test1

Robotics & Future Technology

Future of Intelligent Systems / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer Robot Soccer / BBC News - What happened to the Robotic Age?What happened to the Robotic Age / Robotic Dance? Robotic Dance? / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer Robot Soccer / BBC News - What happened to the Robotic Age?What happened to the Robotic Age / Robotic Dance? Robotic Dance?

REVIEW of some important concepts to remember… REVIEW of some important concepts to remember… CHAPTER 5

Incremental Problem Formulation (The N-Queens Problem)

Constraint Satisfaction A constraint satisfaction problem (CSP) is a problem composed of variables and constraints. The objective is to assign values to variable in such a way that all of the constraints are satisfied. A CSP can be more formally viewed as a triple where: / D represents a set of n domains / X represents a set of n variables, each variable x i takes it value from D i / C represents a set of constraints. A constraint satisfaction problem (CSP) is a problem composed of variables and constraints. The objective is to assign values to variable in such a way that all of the constraints are satisfied. A CSP can be more formally viewed as a triple where: / D represents a set of n domains / X represents a set of n variables, each variable x i takes it value from D i / C represents a set of constraints.

Two types of CSPs / Finite domain CSPs / Queens, Domains, Boolean / Infinite Domain CSPs / If Job1 takes 5 days, then Job3 will start / Job1 +5 < Job3 / Finite domain CSPs / Queens, Domains, Boolean / Infinite Domain CSPs / If Job1 takes 5 days, then Job3 will start / Job1 +5 < Job3

thrashing Wasteful ” backtracking is known as

Variable & Value Ordering / Variable order selection seldom results in the most efficient search / One efficient strategy / Minimum Remaining Value (MRV) which chooses the value with the fewest legal values / A.K.A “Most Constrained Value” / A.K.A “Fail-First” Heuristic because it is the most likely to cause failure first / Variable order selection seldom results in the most efficient search / One efficient strategy / Minimum Remaining Value (MRV) which chooses the value with the fewest legal values / A.K.A “Most Constrained Value” / A.K.A “Fail-First” Heuristic because it is the most likely to cause failure first

Propagating through constraints / When every variable X is assigned, the forward checking process looks at each unassigned variable Y AND Deletes from Y’s domain any value that is inconsistent with the value chosen for X. / Forward Checking is a better use of constraints / Think of Forward Checking as a way to incrementally compute the info needed for MRV to do its job

Arc Consistency   nother backtrack-based algorithm that is even more efficient is called the maintaining arc consistency (MAC) algorithm. / Arc Consistency provides fast method of constraint propagation stronger than forward checking. / Arc Consistency can be provided as preprocessing step (just as forward checking can be used to preprocess).   nother backtrack-based algorithm that is even more efficient is called the maintaining arc consistency (MAC) algorithm. / Arc Consistency provides fast method of constraint propagation stronger than forward checking. / Arc Consistency can be provided as preprocessing step (just as forward checking can be used to preprocess).

MAC Algorithm p146 / Rather than just revising each domain corresponding with the value of each instantiated variable MAC makes the network arc-consistent with respect to the instantiated variables (all arcs must be consistent). / MAC is applied repeatedly until no more inconsistencies remain. / Node Consistency / 1-consistency means that each individual variable by itself is consistent (node consistency) / 2-consistency is arc consistency / 3-consistency means that any pair of adjacent variables can always be extended to a third neighboring variable (i.e. path consistency or AC-3) / AC-3 uses a queue to keep track of nodes that need to be checked for inconsistency / Rather than just revising each domain corresponding with the value of each instantiated variable MAC makes the network arc-consistent with respect to the instantiated variables (all arcs must be consistent). / MAC is applied repeatedly until no more inconsistencies remain. / Node Consistency / 1-consistency means that each individual variable by itself is consistent (node consistency) / 2-consistency is arc consistency / 3-consistency means that any pair of adjacent variables can always be extended to a third neighboring variable (i.e. path consistency or AC-3) / AC-3 uses a queue to keep track of nodes that need to be checked for inconsistency

Intelligent backtracking: looking backward / Chronological backtracking: a policy for when a branch of the search fails by backing up to the preceding variable and try a different value for it / Chronological uses the more recent decision point to revisit / Chronological backtracking: a policy for when a branch of the search fails by backing up to the preceding variable and try a different value for it / Chronological uses the more recent decision point to revisit

Things that cause a failure / The conflict set / Backjumping backtracks to the most recent variable in the conflict set / The conflict set / Backjumping backtracks to the most recent variable in the conflict set