1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>fixedtime.so module reference</title>
<style type="text/css">
body {
font-family: sans-serif;
font-size: small;
}
pre {
background-color: #eeeeff;
border: solid 1px #000000;
padding: 15px;
}
a {
text-decoration: none;
font-weight: bold;
color: #1A419D;
}
</style>
</head>
<body>
<p><a href="index.html">Back to index</a></p>
<h1>fixedtime.so module reference</h1>
<h2>Description</h2>
<p>Specifies that a particular event must be scheduled at the specified
day and/or period.</p>
<p>There is no fitness function, so the "weight" and "mandatory" module
options are ignored (restrictions set by this module are always mandatory).</p>
<p>Consider the following example:</p>
<pre><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></pre>
<p>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.</p>
<h2>Required resource types</h2>
<p>Configuration file must define the following resource types
in order to use this module:</p>
<ul>
<li>time</li>
</ul>
<h2>Defined resource restrictions</h2>
<h2>Defined tuple restrictions</h2>
<h3>fixed-day</h3>
<pre><restriction type="fixed-day">day</restriction></pre>
<p>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.</p>
<p>It only makes sense to use one such restriction per event.</p>
<h3>fixed-period</h3>
<pre><restriction type="fixed-period">period</restriction></pre>
<p>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.</p>
<p>It only makes sense to use one such restriction per event.</p>
<h2>Supported module options</h2>
<h2>Module groups</h2>
<p>This module belongs to the following groups:</p>
<ul>
<li>School scheduling</li>
</ul>
<h2>Author</h2>
<p>Nick Robinson, <a href="mailto:npr@bottlehall.co.uk">npr@bottlehall.co.uk</a></p><h2>Credits</h2><p><p>Extended by Tomaz Solc</p>
</p> <p><a href="index.html">Back to index</a></p>
</body>
</html>
|