Back to index

sametimeas.so module reference

Author

Tomaz Solc, tomaz.solc@siol.net

Credits

Module ported to 0.2.x kernel and extended by Nick Robinson <npr@bottlehall.co.uk>

Module groups

This module belongs to the following groups:

Description

Adds a weight whenever two events are not scheduled at the same time when they have been identified as needing to be.

Required resource types

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

Defined resource restrictions

Defined tuple restrictions

same-time-as

<restriction type="same-time-as">event name</restriction>

This restriction specifies that the current event needs to be scheduled at the same time as the event identified in the restriction.

<event name="a" repeats="4">
	...
	<restriction type="same-time-as">b</restriction>
<event>
<event name="b" repeats="5">
	...
<event>

In this case, four events "a" are scheduled at the same time as four events "b". The fifth event "b" can be scheduled at any time.

Supported module options

Back to index