important prolog task !!! need help

D7eaecdb1c13c92d8c7ae73ae9746016
0
Paty 101 Apr 01, 2010 at 15:41

The task is to develop a scheduling system for the advising students. The system should find an appropriate schedule for the students depending on the courses that they should take and the maximum
number of hours they are allowed to study.

a file is attached called course_catalogue.pl,this knowldgebase
containing different information about the courses being studied.
The data is organized using the following predicates:

course(C,H) denotes that the course C is worth H credit hours.

classes(C,lectures(L),tutorials(T),labs(LL)) denotes that the course C has L lectures per week, T tutorials per week and LL labs per week. A course with no lectures, will have L = 0. The same applies for tutorials and labs.

course_meeting(C,G,T,L) denotes that the class of type T for course C is studied by group G
during timings L
- T is the class type. It can take the values lecture, tutorial or lab.

  • G is the group number. For lecture classes, the group number starts with a g followed by the number (e.g: g1). For tutorial and lab classes, the group number starts with a t followed by the number (e.g: t15).

  • L is the list of timings for the class of type T for group G. A member of this list is represented
    by the data structure timing(Day,SlotNumber). For example, the course math203 has two lectures per week for every group. the entries for the lectures of this course are

course_meeting(math203,g1,lecture,[timing(sunday,4),timing(tuesday,3)]).

course_meeting(math203,g2,lecture,[timing(saturday,4),timing(thursday,4)]).

course_meeting(math203,g3,lecture,[timing(sunday,3),timing(tuesday,1)]).

Implement Prolog predicates to perform the following functionalities:

a) The predicate select_courses(L,H,S) which holds according to the following conditions:

L is a list of courses to be studied by the student. The sum of hours of these courses may exceed the maximum number of hours allowed for the student to study during the semester.

H is the maximum number of hours that a student may study per semester in the GUC.

S is a sublist of L. The summation of credit hours of the courses in S should not exceed the maximum number of study hours allowed for the student, which is specied by the variable H.

Test your predicate using the following query:
?- select_courses([math203,phys202,csis402,csen403,csen401,comm401,elct401,
csen202],25,S).
S = [math203, phys202, csis402, csen403, csen401] ;
S = [math203, phys202, csis402, csen401, csen403] ;
S = [math203, phys202, csen403, csis402, csen401] ;
S = [math203, phys202, csen403, csen401, csis402] ;
S = [math203, phys202, csen401, csis402, csen403] ;
S = [math203, phys202, csen401, csen403, csis402] ;
S = [math203, phys202, comm401, elct401] ;
S = [math203, phys202, comm401, csen202] ;
S = [math203, phys202, elct401, comm401] ;
S = [math203, phys202, elct401, csen202] ;
S = [math203, phys202, csen202, comm401] ;
2
S = [math203, phys202, csen202, elct401] ;
S = [math203, csis402, phys202, csen403, csen401] ;
S = [math203, csis402, phys202, csen401, csen403] ;
S = [math203, csis402, csen403, phys202, csen401] ;
…..
Note that the student wants to maximize the number of hours s/he will study within
the semester. i.e.: The predicate generates all possible combinations of courses that are as close
as possible to the allowed study hours of the student.

Please I need help with this task ASAP , I’ve tried alot of solutions but they all didnot work properly :S:S:S

This is the knowledge base :

course(csen102,5).
course(math103,8).
course(phys102,5).
course(chem101,6).
course(csen202,6).
course(edpt201,3).
course(elct201,4).
course(math203,8).
course(phys202,5).
course(csen301,5).
course(edpt301,3).
course(elct301,6).
course(math301,8).
course(phys301,7).
course(csen401,4).
course(csis402,4).
course(csen403,4).
course(comm401,6).
course(elct401,6).
course(math401,4).
course(csen501,6).
course(csen502,6).
course(csen503,5).
course(dmet501,4).
course(dmet502,6).
course(math501,4).
course(csen601,6).
course(csen602,4).
course(csen603,4).
course(csen604,4).
course(csen605,4).
course(dmet601,4).
course(dmet602,6).
course(comm602,4).
course(csen701,5).
course(csen702,5).
course(csen703,4).
course(csen704,6).
course(dmet701,6).
course(dmet702,7).
course(dmet703,4).
course(dmet704,4).
course(dmet706,6).
course(csen801,2).
course(csen901,5).
course(csen903,4).
course(csen905,5).
course(csen909,4).
course(csen910,5).
course(csen911,4).
course(csen912,5).
course(csen913,5).
course(csen914,5).
course(csen1004,4).
course(dmet901,4).
course(dmet902,4).
course(dmet904,4).
course(csen906,5).
course(csen907,5).
course(csen1001,4).
course(csen1002,4).
course(csen1003,4).
course(csen1005,5).
course(csen1008,2).
course(csen1009,2).
course(csen1010,5).
course(csen1011,5).
course(csen1012,5).
course(csen1013,5).
course(csen1014,2).
course(dmet1001,4).
course(dmet1002,6).
course(dmet1003,5).
course(dmet1005,5).
course(dmet1007,5).
course(dmet1008,2).
course(dmet1009,2).
course(dmet1010,2).
course(dmet1011,5).
course(elct1002,2).
course(netw1001,5).
course(netw1003,5).
course(huma601,1.5).
course(huma1001,2).
course(huma103,2).
course(huma202,1.5).
course(huma302,1.5).
course(huma402,1.5).
course(huma101,3).
course(huma201,3).
course(huma301,3).
course(huma402,3).

%


4th Semester Classes


%
classes(csen401,lectures(1),tutorials(0),labs(1)).
classes(csis402,lectures(1),tutorials(1),labs(0)).
classes(csen403,lectures(1),tutorials(1),labs(0)).
classes(math401,lectures(1),tutorials(1),labs(0)).
classes(elct401,lectures(1),tutorials(1),labs(1)).
classes(comm401,lectures(1),tutorials(1),labs(1)).

%


2nd Semester Classes


%
classes(phys202,lectures(2),tutorials(1),labs(0)).
classes(elct201,lectures(1),tutorials(1),labs(0)).
classes(math203,lectures(2),tutorials(2),labs(0)).
classes(edpt201,lectures(1),tutorials(1),labs(0)).
classes(csen202,lectures(1),tutorials(1),labs(1)).

%


4th Semester Schedule


%
course_meeting(comm401,g1,lecture,[timing(saturday,1)]).
course_meeting(elct401,g1,lecture,[timing(saturday,3)]).
course_meeting(csen401,t14,lab,[timing(sunday,1)]).
course_meeting(csen403,t15,tutorial,[timing(sunday,1)]).
course_meeting(elct401,t13,tutorial,[timing(sunday,1)]).
course_meeting(comm401,t17,tutorial,[timing(sunday,1)]).
course_meeting(math401,t16,tutorial,[timing(sunday,1)]).
course_meeting(csis402,t18,tutorial,[timing(sunday,1)]).
course_meeting(elct401,t16,lab,[timing(sunday,2)]).
course_meeting(elct401,t18,lab,[timing(sunday,2)]).
course_meeting(comm401,t17,lab,[timing(sunday,2)]).
course_meeting(comm401,t15,tutorial,[timing(sunday,2)]).
course_meeting(math401,t14,tutorial,[timing(sunday,2)]).
course_meeting(elct401,t19,tutorial,[timing(sunday,2)]).
course_meeting(csen403,t13,tutorial,[timing(sunday,2)]).
course_meeting(csen401,g1,lecture,[timing(monday,1)]).
course_meeting(elct401,t13,lab,[timing(monday,2)]).
course_meeting(elct401,t19,lab,[timing(monday,2)]).
course_meeting(comm401,t16,lab,[timing(monday,2)]).
course_meeting(comm401,t18,lab,[timing(monday,2)]).
course_meeting(csen401,t15,lab,[timing(monday,2)]).
course_meeting(csen403,t17,tutorial,[timing(monday,2)]).
course_meeting(elct401,t14,tutorial,[timing(monday,2)]).
course_meeting(math401,g1,lecture,[timing(monday,3)]).
course_meeting(csen401,t19,lab,[timing(monday,4)]).
course_meeting(comm401,t13,lab,[timing(monday,4)]).
course_meeting(comm401,t14,tutorial,[timing(monday,4)]).
course_meeting(elct401,t17,tutorial,[timing(monday,4)]).
course_meeting(csen403,t16,tutorial,[timing(monday,4)]).
course_meeting(elct401,t15,tutorial,[timing(monday,4)]).
course_meeting(elct401,t18,tutorial,[timing(monday,4)]).
course_meeting(csen403,g1,lecture,[timing(wednesday,1)]).
course_meeting(elct401,t17,lab,[timing(wednesday,2)]).
course_meeting(csen401,t13,lab,[timing(wednesday,2)]).
course_meeting(comm401,t16,tutorial,[timing(wednesday,2)]).
course_meeting(comm401,t18,tutorial,[timing(wednesday,2)]).
course_meeting(csen403,t14,tutorial,[timing(wednesday,2)]).
course_meeting(csis402,t15,tutorial,[timing(wednesday,2)]).
course_meeting(elct401,t14,lab,[timing(wednesday,3)]).
course_meeting(comm401,t15,lab,[timing(wednesday,3)]).
course_meeting(csis402,t17,tutorial,[timing(wednesday,3)]).
course_meeting(csen403,t19,tutorial,[timing(wednesday,3)]).
course_meeting(comm401,t13,tutorial,[timing(wednesday,3)]).
course_meeting(elct401,t16,tutorial,[timing(wednesday,3)]).
course_meeting(math401,t18,tutorial,[timing(wednesday,3)]).
course_meeting(comm401,t19,tutorial,[timing(thursday,1)]).
course_meeting(csen403,t12,tutorial,[timing(thursday,1)]).
course_meeting(elct401,t15,lab,[timing(thursday,2)]).
course_meeting(csen401,t17,lab,[timing(thursday,2)]).
course_meeting(csis402,t14,tutorial,[timing(thursday,2)]).
course_meeting(csen403,t18,tutorial,[timing(thursday,2)]).
course_meeting(csis402,t16,tutorial,[timing(thursday,2)]).
course_meeting(math401,t13,tutorial,[timing(thursday,2)]).
course_meeting(math401,t19,tutorial,[timing(thursday,2)]).
course_meeting(csis402,g1,lecture,[timing(thursday,3)]).
course_meeting(comm401,t14,lab,[timing(thursday,4)]).
course_meeting(comm401,t19,lab,[timing(thursday,4)]).
course_meeting(csen401,t16,lab,[timing(thursday,4)]).
course_meeting(csen401,t17,lab,[timing(thursday,4)]).
course_meeting(csis402,t13,tutorial,[timing(thursday,4)]).
course_meeting(math401,t15,tutorial,[timing(thursday,4)]).
course_meeting(math401,t17,tutorial,[timing(thursday,4)]).

course_meeting(elct401,g2,lecture,[timing(saturday,1)]).
course_meeting(comm401,g2,lecture,[timing(saturday,3)]).
course_meeting(elct401,t1,lab,[timing(sunday,1)]).
course_meeting(comm401,t2,lab,[timing(sunday,1)]).
course_meeting(csen401,t10,lab,[timing(sunday,1)]).
course_meeting(comm401,t4,tutorial,[timing(sunday,1)]).
course_meeting(comm401,t9,tutorial,[timing(sunday,1)]).
course_meeting(math401,t7,tutorial,[timing(sunday,1)]).
course_meeting(elct401,t5,tutorial,[timing(sunday,1)]).
course_meeting(elct401,t6,tutorial,[timing(sunday,1)]).
course_meeting(csis402,g2,lecture,[timing(monday,1)]).
course_meeting(csen401,g2,lecture,[timing(monday,2)]).
course_meeting(elct401,t3,lab,[timing(monday,3)]).
course_meeting(comm401,t4,lab,[timing(monday,3)]).
course_meeting(csen401,t2,lab,[timing(monday,3)]).
course_meeting(elct401,t9,tutorial,[timing(monday,3)]).
course_meeting(elct401,t10,tutorial,[timing(monday,3)]).
course_meeting(comm401,t5,tutorial,[timing(monday,3)]).
course_meeting(comm401,t8,tutorial,[timing(monday,3)]).
course_meeting(csis402,t7,tutorial,[timing(monday,3)]).
course_meeting(math401,t1,tutorial,[timing(monday,3)]).
course_meeting(elct401,t2,lab,[timing(monday,4)]).
course_meeting(comm401,t1,lab,[timing(monday,4)]).
course_meeting(csen401,t6,lab,[timing(monday,4)]).
course_meeting(elct401,t4,tutorial,[timing(monday,4)]).
course_meeting(comm401,t10,tutorial,[timing(monday,4)]).
course_meeting(csis402,t5,tutorial,[timing(monday,4)]).
course_meeting(math401,t3,tutorial,[timing(monday,4)]).
course_meeting(math401,t8,tutorial,[timing(monday,4)]).
course_meeting(elct401,t4,lab,[timing(tuesday,2)]).
course_meeting(comm401,t3,lab,[timing(tuesday,2)]).
course_meeting(elct401,t7,lab,[timing(tuesday,2)]).
course_meeting(csen401,t8,lab,[timing(tuesday,2)]).
course_meeting(elct401,t1,tutorial,[timing(tuesday,2)]).
course_meeting(math401,t9,tutorial,[timing(tuesday,2)]).
course_meeting(csis402,t10,tutorial,[timing(tuesday,2)]).
course_meeting(elct401,t5,lab,[timing(tuesday,3)]).
course_meeting(comm401,t6,lab,[timing(tuesday,3)]).
course_meeting(comm401,t9,lab,[timing(tuesday,3)]).
course_meeting(csis402,t3,tutorial,[timing(tuesday,3)]).
course_meeting(csis402,t1,tutorial,[timing(tuesday,3)]).
course_meeting(csis402,t2,tutorial,[timing(tuesday,3)]).
course_meeting(math401,t10,tutorial,[timing(tuesday,3)]).
course_meeting(elct401,t7,tutorial,[timing(tuesday,3)]).
course_meeting(csen401,t3,lab,[timing(tuesday,4)]).
course_meeting(elct401,t10,lab,[timing(tuesday,4)]).
course_meeting(elct401,t6,lab,[timing(tuesday,4)]).
course_meeting(comm401,t5,lab,[timing(tuesday,4)]).
course_meeting(math401,t4,tutorial,[timing(tuesday,4)]).
course_meeting(comm401,t7,tutorial,[timing(tuesday,4)]).
course_meeting(elct401,t2,tutorial,[timing(tuesday,4)]).
course_meeting(csis402,t8,tutorial,[timing(tuesday,4)]).
course_meeting(comm401,t8,lab,[timing(tuesday,5)]).
course_meeting(csen401,t1,lab,[timing(tuesday,5)]).
course_meeting(csen401,t9,lab,[timing(tuesday,5)]).
course_meeting(math401,t6,tutorial,[timing(tuesday,5)]).
course_meeting(comm401,t2,tutorial,[timing(tuesday,5)]).
course_meeting(elct401,t8,lab,[timing(wednesday,2)]).
course_meeting(comm401,t7,lab,[timing(wednesday,2)]).
course_meeting(csen401,t4,lab,[timing(wednesday,2)]).
course_meeting(elct401,t3,tutorial,[timing(wednesday,2)]).
course_meeting(csis402,t9,tutorial,[timing(wednesday,2)]).
course_meeting(csis402,t6,tutorial,[timing(wednesday,2)]).
course_meeting(math401,t5,tutorial,[timing(wednesday,2)]).
course_meeting(comm401,t1,tutorial,[timing(wednesday,2)]).
course_meeting(math401,g2,lecture,[timing(wednesday,3)]).
course_meeting(csen401,t5,lab,[timing(wednesday,4)]).
course_meeting(csen401,t7,lab,[timing(wednesday,4)]).
course_meeting(comm401,t10,lab,[timing(wednesday,4)]).
course_meeting(elct401,t9,lab,[timing(wednesday,4)]).
course_meeting(elct401,t8,tutorial,[timing(wednesday,4)]).
course_meeting(csis402,t4,tutorial,[timing(wednesday,4)]).
course_meeting(math401,t2,tutorial,[timing(wednesday,4)]).
course_meeting(comm401,t3,tutorial,[timing(wednesday,4)]).
course_meeting(comm401,t3,tutorial,[timing(wednesday,4)]).

course_meeting(elct401,t25,tutorial,[timing(saturday,1)]).
course_meeting(elct401,g3,lecture,[timing(saturday,3)]).
course_meeting(csen401,t28,lab,[timing(sunday,1)]).
course_meeting(csen401,t29,lab,[timing(sunday,1)]).
course_meeting(elct401,t25,lab,[timing(sunday,1)]).
course_meeting(csis402,t21,tutorial,[timing(sunday,1)]).
course_meeting(elct401,t26,tutorial,[timing(sunday,1)]).
course_meeting(elct401,t28,lab,[timing(monday,1)]).
course_meeting(elct401,t29,lab,[timing(monday,1)]).
course_meeting(csen401,t22,lab,[timing(monday,1)]).
course_meeting(elct401,t27,tutorial,[timing(monday,1)]).
course_meeting(csis402,t26,tutorial,[timing(monday,1)]).
course_meeting(csen401,g3,lecture,[timing(monday,3)]).
course_meeting(csen401,t23,lab,[timing(monday,4)]).
course_meeting(csen401,t26,lab,[timing(monday,4)]).
course_meeting(elct401,t27,lab,[timing(monday,4)]).
course_meeting(csen401,t27,lab,[timing(wednesday,2)]).
course_meeting(elct401,t24,tutorial,[timing(wednesday,2)]).
course_meeting(csis402,t22,tutorial,[timing(wednesday,2)]).
course_meeting(csen401,t21,lab,[timing(wednesday,3)]).
course_meeting(elct401,t24,lab,[timing(wednesday,3)]).
course_meeting(csis402,t27,tutorial,[timing(wednesday,3)]).
course_meeting(csis402,t29,tutorial,[timing(wednesday,3)]).
course_meeting(elct401,t22,tutorial,[timing(wednesday,3)]).
course_meeting(elct401,t28,tutorial,[timing(wednesday,3)]).
course_meeting(elct401,t26,lab,[timing(thursday,1)]).
course_meeting(csen401,t25,lab,[timing(thursday,1)]).
course_meeting(csis402,g3,lecture,[timing(thursday,2)]).
course_meeting(csen401,t24,lab,[timing(thursday,3)]).
course_meeting(elct401,t21,lab,[timing(thursday,3)]).
course_meeting(csis402,t23,tutorial,[timing(thursday,3)]).
course_meeting(csis402,t25,tutorial,[timing(thursday,3)]).
course_meeting(elct401,t22,lab,[timing(thursday,4)]).
course_meeting(elct401,t23,tutorial,[timing(thursday,4)]).
course_meeting(elct401,t29,tutorial,[timing(thursday,4)]).
course_meeting(csis402,t24,tutorial,[timing(thursday,4)]).
course_meeting(elct401,t23,lab,[timing(thursday,5)]).
course_meeting(elct401,t21,tutorial,[timing(thursday,5)]).
course_meeting(csis402,t28,tutorial,[timing(thursday,5)]).

%


2nd Semester Schedule


%
course_meeting(elct201,t5,tutorial,[timing(saturday,1)]).
course_meeting(elct201,t7,tutorial,[timing(saturday,1)]).
course_meeting(phys202,t8,tutorial,[timing(saturday,1)]).
course_meeting(phys202,t11,tutorial,[timing(saturday,1)]).

course_meeting(math203,t1,tutorial,[timing(saturday,1),timing(sunday,1)]).

course_meeting(math203,t2,tutorial,[timing(saturday,1),timing(sunday,1)]).
course_meeting(csen202,t10,tutorial,[timing(saturday,1)]).
course_meeting(elct201,t9,tutorial,[timing(saturday,1)]).
course_meeting(edpt201,t2,tutorial,[timing(saturday,2)]).
course_meeting(edpt201,t9,tutorial,[timing(saturday,2)]).
course_meeting(phys202,t1,tutorial,[timing(saturday,2)]).
course_meeting(phys202,t6,tutorial,[timing(saturday,2)]).
course_meeting(csen202,t3,tutorial,[timing(saturday,2)]).
course_meeting(csen202,t4,tutorial,[timing(saturday,2)]).
course_meeting(csen202,t3,lab,[timing(saturday,4)]).
course_meeting(csen202,t4,lab,[timing(saturday,4)]).
course_meeting(elct201,t1,tutorial,[timing(saturday,4)]).
course_meeting(elct201,t2,tutorial,[timing(saturday,4)]).

course_meeting(math203,t5,tutorial,[timing(saturday,4),timing(wednesday,2)]).

course_meeting(math203,t6,tutorial,[timing(saturday,4),timing(wednesday,2)]).

course_meeting(math203,t7,tutorial,[timing(saturday,4),timing(wednesday,2)]).

course_meeting(math203,t8,tutorial,[timing(saturday,4),timing(wednesday,2)]).

course_meeting(csen202,t11,lab,[timing(sunday,1)]).

course_meeting(math203,t3,tutorial,[timing(sunday,1),timing(wednesday,3)]).

course_meeting(math203,t10,tutorial,[timing(sunday,1),timing(wednesday,3)]).
course_meeting(phys202,t4,tutorial,[timing(sunday,1)]).
course_meeting(phys202,t9,tutorial,[timing(sunday,1)]).
course_meeting(edpt201,t5,tutorial,[timing(sunday,1)]).
course_meeting(edpt201,t6,tutorial,[timing(sunday,1)]).
course_meeting(csen202,t7,tutorial,[timing(sunday,1)]).
course_meeting(csen202,t8,tutorial,[timing(sunday,1)]).

course_meeting(phys202,g1,lecture,[timing(sunday,2),timing(wednesday,4)]).
course_meeting(edpt201,g1,lecture,[timing(sunday,2)]).

course_meeting(math203,g1,lecture,[timing(sunday,4),timing(tuesday,3)]).

course_meeting(math203,t4,tutorial,[timing(tuesday,1),timing(thursday,3)]).

course_meeting(math203,t9,tutorial,[timing(tuesday,1),timing(thursday,3)]).
course_meeting(csen202,t2,tutorial,[timing(tuesday,1)]).
course_meeting(csen202,t6,tutorial,[timing(tuesday,1)]).
course_meeting(csen202,t11,tutorial,[timing(tuesday,1)]).
course_meeting(csen202,t2,lab,[timing(tuesday,4)]).
course_meeting(csen202,t6,lab,[timing(tuesday,4)]).
course_meeting(csen202,t7,lab,[timing(tuesday,4)]).
course_meeting(csen202,t8,lab,[timing(tuesday,4)]).
course_meeting(edpt201,t1,tutorial,[timing(tuesday,4)]).
course_meeting(elct201,t3,tutorial,[timing(tuesday,4)]).
course_meeting(elct201,t10,tutorial,[timing(tuesday,4)]).
course_meeting(csen202,t5,tutorial,[timing(tuesday,4)]).

course_meeting(math203,t11,tutorial,[timing(tuesday,4),timing(thursday,3)]).
course_meeting(csen202,t1,tutorial,[timing(wednesday,2)]).
course_meeting(csen202,t9,tutorial,[timing(wednesday,2)]).
course_meeting(phys202,t2,tutorial,[timing(wednesday,2)]).
course_meeting(phys202,t10,tutorial,[timing(wednesday,2)]).
course_meeting(edpt201,t4,tutorial,[timing(wednesday,2)]).
course_meeting(edpt201,t3,tutorial,[timing(wednesday,2)]).
course_meeting(csen202,t1,tutorial,[timing(wednesday,3)]).
course_meeting(csen202,t9,tutorial,[timing(wednesday,3)]).
course_meeting(phys202,t7,tutorial,[timing(wednesday,3)]).
course_meeting(elct201,t4,tutorial,[timing(wednesday,3)]).
course_meeting(elct201,t8,tutorial,[timing(wednesday,3)]).
course_meeting(elct201,t11,tutorial,[timing(wednesday,3)]).

course_meeting(edpt201,t10,tutorial,[timing(thursday,1)]).
course_meeting(elct201,g1,lecture,[timing(thursday,2)]).
course_meeting(csen202,g1,lecture,[timing(thursday,4)]).
course_meeting(csen202,t1,lab,[timing(thursday,3)]).
course_meeting(csen202,t10,lab,[timing(thursday,3)]).
course_meeting(phys202,t3,tutorial,[timing(thursday,3)]).
course_meeting(elct201,t6,tutorial,[timing(thursday,3)]).
course_meeting(edpt201,t7,tutorial,[timing(thursday,3)]).

course_meeting(csen202,t17,tutorial,[timing(saturday,1)]).
course_meeting(edpt201,t21,tutorial,[timing(saturday,1)]).
course_meeting(csen202,t17,tutorial,[timing(saturday,2)]).
course_meeting(elct201,t14,tutorial,[timing(saturday,2)]).

course_meeting(math203,t12,tutorial,[timing(saturday,2),timing(tuesday,4)]).
course_meeting(csen202,t18,tutorial,[timing(saturday,2)]).

course_meeting(math203,g2,lecture,[timing(saturday,4),timing(thursday,4)]).
course_meeting(elct201,g2,lecture,[timing(sunday,1)]).
course_meeting(elct201,t19,tutorial,[timing(sunday,2)]).
course_meeting(edpt201,t12,tutorial,[timing(sunday,2)]).
course_meeting(phys202,t13,tutorial,[timing(sunday,2)]).
course_meeting(csen202,t15,tutorial,[timing(sunday,2)]).
course_meeting(csen202,t16,tutorial,[timing(sunday,2)]).

course_meeting(math203,t17,tutorial,[timing(sunday,2),timing(wednesday,4)]).

course_meeting(phys202,g2,lecture,[timing(sunday,4),timing(wednesday,3)]).
course_meeting(edpt201,g2,lecture,[timing(sunday,4)]).
course_meeting(csen202,t22,tutorial,[timing(tuesday,1)]).
course_meeting(csen202,t12,tutorial,[timing(tuesday,1)]).
course_meeting(edpt201,t19,tutorial,[timing(tuesday,1)]).

course_meeting(math203,t14,tutorial,[timing(tuesday,1),timing(thursday,2)]).
course_meeting(csen202,t16,lab,[timing(tuesday,3)]).
course_meeting(csen202,t15,lab,[timing(tuesday,3)]).
course_meeting(csen202,t18,lab,[timing(tuesday,3)]).
course_meeting(csen202,t22,lab,[timing(tuesday,3)]).
course_meeting(elct201,t17,tutorial,[timing(tuesday,3)]).
course_meeting(phys202,t21,tutorial,[timing(tuesday,3)]).
course_meeting(csen202,t20,tutorial,[timing(tuesday,3)]).
course_meeting(edpt201,t13,tutorial,[timing(tuesday,3)]).
course_meeting(csen202,t14,tutorial,[timing(tuesday,4)]).
course_meeting(csen202,t21,tutorial,[timing(tuesday,4)]).
course_meeting(phys202,t15,tutorial,[timing(tuesday,4)]).
course_meeting(csen202,t20,lab,[timing(wednesday,2)]).
course_meeting(phys202,t12,tutorial,[timing(wednesday,2)]).

course_meeting(math203,t16,tutorial,[timing(wednesday,2),timing(thursday,2)]).
course_meeting(elct201,t18,tutorial,[timing(wednesday,2)]).
course_meeting(csen202,t19,tutorial,[timing(wednesday,2)]).
course_meeting(csen202,t13,tutorial,[timing(wednesday,2)]).
course_meeting(csen202,t13,lab,[timing(wednesday,4)]).
course_meeting(csen202,t14,lab,[timing(wednesday,4)]).
course_meeting(csen202,t19,lab,[timing(wednesday,4)]).
course_meeting(elct201,t12,tutorial,[timing(wednesday,4)]).
course_meeting(edpt201,t15,tutorial,[timing(wednesday,4)]).
course_meeting(phys202,t22,tutorial,[timing(wednesday,4)]).
course_meeting(csen202,t12,lab,[timing(thursday,2)]).
course_meeting(csen202,t21,lab,[timing(thursday,2)]).
course_meeting(elct201,t13,tutorial,[timing(thursday,2)]).
course_meeting(edpt201,t17,tutorial,[timing(thursday,2)]).
course_meeting(phys202,t19,tutorial,[timing(thursday,2)]).
course_meeting(csen202,g2,lecture,[timing(thursday,3)]).
course_meeting(csen202,t23,lab,[timing(saturday,1)]).
course_meeting(csen202,t24,tutorial,[timing(saturday,1)]).
course_meeting(math203,g3,lecture,[timing(saturday,2)]).
course_meeting(csen202,t24,lab,[timing(saturday,4)]).
course_meeting(csen202,t25,tutorial,[timing(saturday,4)]).
course_meeting(csen202,t26,tutorial,[timing(saturday,4)]).
course_meeting(csen202,t27,tutorial,[timing(saturday,4)]).
course_meeting(elct201,t28,tutorial,[timing(saturday,4)]).
course_meeting(phys202,t31,tutorial,[timing(saturday,4)]).
course_meeting(edpt201,t29,tutorial,[timing(saturday,4)]).

1 Reply

Please log in or register to post a reply.

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 167 Apr 01, 2010 at 16:34

This isn’t a forum for homework questions or for non-gamedev-related questions.