This module prevents constant resources of one type (for example teachers) to have events scheduled on the first and the last time slots on the same day.
For example if a teacher has an event scheduled on the first time slot in a day then it must have the last time slot in that day free. On the other hand if a teacher has an event scheduled on the last time slot it must have the first time slot free.
The number of weights added by this module is equal to the number of days in the timetable that do not conform to this constraint.
The following example will make this module check teacher's timetable:
<module name="firstorlast" 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