بعد التحية أخذنا هادا السؤال في الجامعة السؤال خاص بالذكاء الاصطناعي طلب منا الدكتور كتابة كود python لحل المشكلة التالية باستخدام CSP هل أجد من يساعدني هنا مع العلم بأنني لم أدخر جهدا فالبحث

You are in charge of scheduling for software engineering classes that meet Saturday, Mondays

and Wednesdays. 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:30-9:30am

•Class 3 - Natural Language Processing: meets from 9:00-10:00am

•Class 4 - Computer Vision: meets from 9:00-10:00am

•Class 5 - Machine Learning: meets from 9:30-10:30am

The professors are:

•Professor A, who is available to teach Classes 3 and 4.

•Professor B, who is available to teach Classes 2, 3, 4, and 5.

•Professor C, who is available to teach Classes 1, 2, 3, 4, 5.

a. Formulate this problem as a CSP problem

b. Draw the constraint graph associated with your CSP

c. Show the domains of the variables after running arc-consistency on this initial

graph

d. Give one solution to this CSP

e. Use python program to solve this problem