Specifies that a particular event must be scheduled at the specified day and/or period.
There is no fitness function, so the "weight" and "mandatory" module options are ignored (restrictions set by this module are always mandatory).
Consider the following example:
<event name="A" repeats="1"> <restriction type="fixed-day">3</restriction> </event> <event name="B" repeats="1"> <restriction type="fixed-day">2</restriction> </event> <event name="C" repeats="1"> <restriction type="fixed-day">4</restriction> <restriction type="fixed-period">5</restriction> </event>
Event "A" can be scheduled on any period of the fourth day of the week. Event "B" can be scheduled on the third period of any day of the week. Event "C" can only be scheduled on the sixth period of the fifth day.
Configuration file must define the following resource types in order to use this module:
<restriction type="fixed-day">day</restriction>
This tuple restriction specifies that the time slots at the specified day should be used to schedule the lesson. "day" must be an integer between 0 and number of days minus 1.
It only makes sense to use one such restriction per event.
<restriction type="fixed-period">period</restriction>
This tuple restriction specifies that the time slots at the specified period should be used to schedule the lesson. "period" must be an integer between 0 and number of periods minus 1.
It only makes sense to use one such restriction per event.
This module belongs to the following groups:
Nick Robinson, npr@bottlehall.co.uk
Extended by Tomaz Solc