Back to index

freeperiod.so module reference

Description

Specifies that some time slots should never be used by any lessons.

There is no fitness function, so the "weight" and "mandatory" module options are ignored (restrictions set by this module are always mandatory).

Required resource types

Configuration file must define the following resource types in order to use this module:

Defined resource restrictions

day-off (resource types teacher)

<restriction type="day-off">day</restriction>

Synonym for 'free-day'

free-day (resource types teacher)

<restriction type="free-day">day</restriction>

This option specifies that no slots on "day" should ever be used to schedule lessons for a teacher.

free-period (resource types teacher)

<restriction type="free-period">day period</restriction>

This option specifies that the time slot at "day period" should never be used to schedule lessons for a teacher.

Defined tuple restrictions

Supported module options

free-period

<option name="free-period">day period</option>

This option specifies that the time slot at "day period" should never be used to schedule lessons.

Module groups

This module belongs to the following groups:

Author

Nick Robinson, npr@bottlehall.co.uk

Back to index