amorosik
Member
- Local time
- Today, 16:11
- Joined
- Apr 18, 2020
- Messages
- 516
I would like to create a procedure to automate the compilation of the classic school timetable
And so starting from:
- list of teachers
- list of subjects provided by each teacher (each could teach more than one subject) and weekly quantity (e.g. teacher code 1 teaches mathematics and history and is present for 4 hours/week)
- list of classes present (3A, 3B, 4A, 5A, 5B, ...)
- weekly list of subjects for each class (class 3A=4 hours English, 3 hours history, 6 hours mathematics...)
How to automate the problem of obtaining weekly/monthly school hours using the information provided above?
What logic would you use to compile the timetable?
And so starting from:
- list of teachers
- list of subjects provided by each teacher (each could teach more than one subject) and weekly quantity (e.g. teacher code 1 teaches mathematics and history and is present for 4 hours/week)
- list of classes present (3A, 3B, 4A, 5A, 5B, ...)
- weekly list of subjects for each class (class 3A=4 hours English, 3 hours history, 6 hours mathematics...)
How to automate the problem of obtaining weekly/monthly school hours using the information provided above?
What logic would you use to compile the timetable?