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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>maxperday.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>maxperday.so module reference</h1>
<h2>Description</h2>
<p>This module prevents resources of one constant type (e.g. teachers
or class) to have more than the set maximum number of events scheduled per
day.</p>
<p>For each resource the number of weights added is equal to the number of
events scheduled in a day that exceeds the maximum number (in the example
below if a teacher has 7 events scheduled on one day, this module will
add 2 weights)</p>
<p>If you would like to use this module for more than one resource type, you
can safely include two <module> tags with different "resourcetype" options.</p>
<p>The following example will make this module check if each teacher has no
more than 5 events scheduled per day.</p>
<pre><module name="maxperday" weight="60" mandatory="yes">
<option name="resourcetype">teacher</option>
<option name="maxperday">5</option>
</module></pre>
<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>
<h2>Supported module options</h2>
<h3>maxperday</h3>
<p>Use this option to specify the maximum number of events per day, Its contents
must be a positive integer.</p>
<h3>resourcetype</h3>
<p>Use this option to specify a constant resource type for which this module
will be in effect.</p>
<h2>Module groups</h2>
<p>This module belongs to the following groups:</p>
<ul>
<li>School scheduling</li>
</ul>
<h2>Author</h2>
<p>Tomaz Solc, <a href="mailto:tomaz.solc@tablix.org">tomaz.solc@tablix.org</a></p> <p><a href="index.html">Back to index</a></p>
</body>
</html>
|