You are in charge of scheduling for computer science classes that meet MWF. There are 5 classes that meet on these days and 3 professors who will be teaching these classes. You are constrained by the fact that each professor can only teach one class at a time. The classes are:
• Class 1 - Intro to Programming: meets from 8:00-9:00am
• Class 2 - Intro to Artificial Intelligence: meets from 8:00-9:00am
• Class 3 - Natural Language Processing: meets from 9:30-10:30am
• Class 4 - Computer Vision: meets from 9:00-10:00am
• Class 5 - Machine Learning: meets from 8:30-9:30am
The professors are:
• Professor A, who can teach Classes 1, 3 and 4.
• Professor B, who can teach Classes 2, 3, 4, and 5.
• Professor C, who can teach Classes 1, 2, 3, 4, 5.
Answer the following questions:
a) Formulate this problem as a CSP: specify the variables, their initial domains, and the constraints.
b) Draw the constraint graph associated with this CSP.
c) Show the domains of the variables after running arc-consistency on this initial graph (after having already enforced any unary constraints).
d) Give one solution to this CSP.
SOLUTION:-
a)
| Variables | Domains (or unary constraints) |
| C1 | { A , C } |
| C2 | { B , C } |
| C3 | { A , B , C } |
| C4 | { A , B , C } |
| C5 | { B , C } |
b)

THANK YOU , if any queries please leave your valuable comment on comment box.....
You are in charge of scheduling for computer science classes that meet MWF. There are 5...
You are in charge of scheduling for computer science classes that meet MWE. There are 5 classes that meet on these days and 3 professors who will be teaching these classes. You are constrained by the fact that each professor can only teach one class at a time. SE The classes are: • Class 1. Intro to Programming meets from 8:00-9:00am Class 2 - Intro to Artificial Intelligence: meets from 8:00-9:00am Class 3 - Natural Language Processing: meets from 9:30-10:30am...
Computer Science 111 Introduction to Algorithms and Programming: Java Programming Net Beans Project #4 - Classes and Objects (15 Points) You will create 3 new classes for this project, two will be chosen (THE TWO CHOSEN ARE TENNIS SHOE AND TREE) from the list below and one will be an entirely new class you invent. Here is the list: Cellphone Clothes JuiceDrink Book MusicBand Bike GameConsole Tree Automobile Baseball MusicPlayer Laptop TennisShoe Cartoon EnergyDrink TabletComputer RealityShow HalloweenCostume Design First Create...
In this phase of the project you will create an ERD based upon the following requirements and business rules. Limit your ERD to entities and relationships based on the business rules showed here. In other words, do not add realism to your design by expanding or refining the business rules. However, make sure you include all attributes needed that would permit the model to be successfully implemented, including all primary and foreign keys. 1. Trinity College (TC) is divided into...
(MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications for 1) teaching (e.g. instructor assignment and evaluation), for 2) registration (e.g. online course status, waiting lists), and for 3) student records (e.g. transcript generation) The resulting new system will support the following enterprise description: Professors and GTAs are assigned to teach the sections of each class being offered in a semester. At the end of the semester, they get a "team rating" (professors...
COSC 1437 C++2 Project Assignment 3 Description: Computer Science Department is evaluating its professors to see which professor has the highest rating according to student input. You will create a ProfessorRating class consisting of professor Name and three ratings. The three ratings are used to evaluate easiness, helpfulness, and clarity. The value for each rating is in the range of 1 to 5, with 1 being the lowest and 5 being the highest. Your program should contain the following functionalities:...
oliò Description and Requirements Computer Lab Assignment #9 1. Use Excel and the "Restaurant" data set file located in D2L for this assignment 2. For each class (Class 1 to 14), consider the number of customers for day 7. Call this new variable, day data, as X1. Consider the number of waiters/waitresses as variable X2.Consider the customer satisfaction as vanable Y In another word, create a table for variables Y, X.X2 Dependent Variable: Y Independent Variables: X,X2 3. Find a...
- 5 8 9 - 10 - 11 12 - 13 14 15 16 Below are the times (in days) it takes for a sample of 16 customers from Sarah's computer store to pay their invoices. 19,15,43, 39, 35, 31, 27, 22, 34, 34, 34, 30, 30, 30, 26, 26 Draw the frequency polygon for these data using an initial class boundary of 14.5 and a class width of 7. Note that you can add or remove classes from the...
I need help writing my main method**** Computer Science 111 Introduction to Algorithms and Programming: Java Programming Project #4 – Classes and Objects (20 Points) You will create 3 new classes for this project, two will be chosen from the list below and one will be an entirely new class you invent.Here is the list: Shirt Shoe Wine Book Song Bicycle VideoGame Plant Car FootBall Boat Computer WebSite Movie Beer Pants TVShow MotorCycle Design First Create three (3) UML diagrams...
3 6 7 8 9 10 11 12 13 14 Here are the shopping times (in minutes) for a sample of 21 shoppers at a particular computer store: 26, 23, 44, 41, 38, 35, 31,28,25, 22, 43, 24, 24, 21, 21, 21, 43, 43, 39, 39, 39 Draw the histogram for these data using an initial class boundary of 20.5, an ending class boundary of 45.5, and 5 classes of įqual width. Note that you can add or remove classes...
Logic Programming An important type of programming language is designed to reason using the rules of predicate logic. Prolog (from Programming in Logic), developed in the 1970s by computer scientists working in the area of artificial intelligence, is an example of such a language. Prolog programs include a set of declarations consisting of two types of statements, Prolog facts and Prolog rules. Prolog facts define predicates by specifying the elements that satisfy these predicates. Prolog rules are used to define...