This module counts the number of occupied first and last time slots in teacher's (or any other constant resource type) timetables. The number of weights added is equal to the difference between the number of occupied first time slots and the number of occupied last time slots.
For example if a teacher has two events scheduled on the first time slot in a day then it must also have two events scheduled on the last time slot. (E.g. A teacher teaches first period for Monday and Tuesday, and the last period for Wednesday, Tuesday, Friday. So that he/she can go home earlier on Monday/Tuesday and come in later on Wednesday, Tuesday, Friday.)
The following example will make this module check teacher's timetable:
<module name="firstlastequal" weight="60" mandatory="yes"> <option name="resourcetype">teacher</option> </module>
Configuration file must define the following resource types in order to use this module:
Use this option to specify a constant resource type for which this module will be in effect.
You can use multiple resourcetype options for one module.
This module belongs to the following groups:
Tomaz Solc, tomaz.solc@tablix.org