Back to index

timeblocks_sameday.so module reference

Description

Adds a weight if two timeblocks are scheduled on the same day.

This module divides repetitions of an event into groups of equal sizes. It then makes sure that two such groups aren't scheduled on the same day.

This module is deprecated. sameday.so module in combination with consecutive.so provides the same functionality with better performance.

Required resource types

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

Defined resource restrictions

Defined tuple restrictions

periods-per-block

<restriction type="periods-per-block">periods</restriction>

Set this restriction to schedule blocks of events on different days.

For example:

<event name="test" repeats="6">
	<resource type="teacher" name="a"/>
	<resource type="class" name="2"/>
	<restriction type="periods-per-block">2</restriction>
</event>

This restriction tells Tablix to schedule 2 events "test" on one day, next 2 events "test" on some other day and next 2 events "test" again on a different day.

Supported module options

Module groups

This module belongs to the following groups:

Author

Antonio Duran, antonio.duran.terres@gmail.com

Credits

Additional error checking by Tomaz Solc

Back to index