Quiz Feb. 02 2006 Inf. Search & CSP.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Patrick Prosser. An Example, Exam Timetabling Someone timetables the exams We have a number of courses to examine how many? Dept.
Advertisements

1 Today’s class Interleaving backtracking and consistency checking Variable-ordering heuristics Value-ordering heuristics Intelligent backtracking Marie.
Constraint Satisfaction Problems
Distributed Constraint Satisfaction Problems M OHSEN A FSHARCHI.
Every edge is in a red ellipse (the bags). The bags are connected in a tree. The bags an original vertex is part of are connected.
Lecture 11 Last Time: Local Search, Constraint Satisfaction Problems Today: More on CSPs.
ICS-271:Notes 5: 1 Lecture 5: Constraint Satisfaction Problems ICS 271 Fall 2008.
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Constraint Satisfaction problems (CSP)
Section 3 CS182 Intelligent Machines: Reasoning, Actions and Plans.
Constraint Satisfaction Problems
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Constraint Satisfaction Problems
CPSC 322, Lecture 12Slide 1 CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12 (Textbook Chpt ) January, 29, 2010.
Graphs CS-240/341. Uses for Graphs computer networks and routing airline flights geographic maps course prerequisite structures tasks for completing a.
Artificial Intelligence Constraint satisfaction Chapter 5, AIMA.
Constraint Satisfaction Problems
CS460 Fall 2013 Lecture 4 Constraint Satisfaction Problems.
Alyce Brady CS 510: Computer Algorithms Depth-First Graph Traversal Algorithm.
Chapter 5 Outline Formal definition of CSP CSP Examples
Constraint Satisfaction Not all problems are solved by a sequential series of steps. How do we solve other types of problems?
Constraint Satisfaction Problems
Constraint Satisfaction Problems
Variables “To be is to be the value of a variable.” - William Quine.
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,
Functions Domain & Range Evaluate with Function Notation.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
Computer Science CPSC 322 Lecture 13 Arc Consistency (4.5, 4.6 ) Slide 1.
Quiz Th. Oct. 20 Chapters 1,2,3,4. S B AD E C F G straight-line distances h(S-G)=10 h(A-G)=7 h(D-G)=1 h(F-G)=1 h(B-G)=10 h(E-G)=8 h(C-G)=20.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
CSC 423 ARTIFICIAL INTELLIGENCE Constraint Satisfaction Problems.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 6 Binary CSP.
Constraint Satisfaction Problems 부산대학교 전자전기컴퓨터공학과 인공지능연구실 김민호
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.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
EXAMPLE: MAP COLORING. Example: Map coloring Variables — WA, NT, Q, NSW, V, SA, T Domains — D i ={red,green,blue} Constraints — adjacent regions must.
Review for E&CE Find the minimal cost spanning tree for the graph below (where Values on edges represent the costs). 3 Ans. 18.
1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Constraint Satisfaction Problems/Programming ZUI 2012/2013.
Constraint Propagation CS121 – Winter Constraint Propagation2 Constraint Propagation … … is the process of determining how the possible values of.
1 Constraint Satisfaction Problems (CSP). Announcements Second Test Wednesday, April 27.
CMPT 463. What will be covered A* search Local search Game tree Constraint satisfaction problems (CSP)
Representing Graphs Depth First Search Breadth First Search Graph Searching Algorithms.
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Minimum Spanning Tree Chapter 13.6.
Binary search tree. Removing a node
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Algebra II Explorations Review ( )
Constraint Satisfaction Problems (CSPs)
Constraint Satisfaction Problems Lecture # 14, 15 & 16
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Constraint Satisfaction Problems
Constraint Propagation
Solve a system of linear equation in two variables
كلية المجتمع الخرج البرمجة - المستوى الثاني
CSP Search Techniques Backtracking Forward checking
Does graph represent a function? State the domain & range.
Running example The 4-houses puzzle:
Basics of Functions and Their Graphs
Constraints and Search
Constraint satisfaction problems
SEG 4560 Midterm Review.
Constraint Satisfaction Problems
Constraint Graph Binary CSPs
Constraint satisfaction problems
Constraint Satisfaction Problems (CSP)
Presentation transcript:

Quiz Feb. 02 2006 Inf. Search & CSP

G1 G2 C D A B R 1 2 10 9 1) Consider the search tree to the right. There are 2 goal states, G1 and G2. The numbers on the edges represent step-costs. You also know the following heuristic estimates: h(BG2) = 9, h(DG2)=10, h(AG1)=2, h(CG1)=1 a) [5pts] In what order will A* search visit the nodes? Explain your answer by indicating the value of the evaluation function for those nodes that the algorithm considers. SEARCH TREE 2) Consider the constraint graph on the right. The domain for every variable is [1,2,3,4]. There are 2 unary constraints: - variable “a” cannot take values 3 and 4. - variable “b” cannot take value 4. There are 8 binary constraints stating that variables connected by an edge cannot have the same value. a) [5pts] Find a solution for this CSP by using the following heuristics: minimum value heuristic, degree heuristic, forward checking. Explain each step of your answer. c a d e b CONSTRAINT GRAPH

G1 G2 C D A B R 1 2 10 9 1) Consider the search tree to the right. There are 2 goal states, G1 and G2. The numbers on the edges represent step-costs. You also know the following heuristic estimates: h(BG2) = 9, h(DG2)=10, h(AG1)=2, h(CG1)=1 a) [5pts] BACG1 f-value:1+99+210+111 SEARCH TREE 2) Consider the constraint graph on the right. The domain for every variable is [1,2,3,4]. There are 2 unary constraints: - variable “a” cannot take values 3 and 4. - variable “b” cannot take value 4. There are 8 binary constraints stating that variables connected by an edge cannot have the same value. a) [5pts] MVH a=1 (for example) FC+MVH b=2 FC+MVH+DH c=3 FC+MVH d=4 FC e=1 c a d e b CONSTRAINT GRAPH