File: placecapability.html

package info (click to toggle)
tablix2 0.3.5-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,024 kB
  • sloc: ansic: 24,593; xml: 13,161; sh: 10,409; makefile: 800; perl: 564; yacc: 289; sed: 16
file content (68 lines) | stat: -rw-r--r-- 2,495 bytes parent folder | download | duplicates (4)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>placecapability.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>placecapability.so module reference</h1>

		<h2>Description</h2>
<p>Use this module if you want to schedule certain events only in 
classrooms that have the neccessary capabilities.</p>
<p>This module does not use a fitness function. This means that the "mandatory"
and "weight" options are ignored. This restriction is always mandatory.</p>
<p>See "<a href="preferredroom.html">preferredroom.so</a>" module if you need a non-mandatory restriction of
a similar type.</p>
		<h2>Required resource types</h2>
		<p>Configuration file must define the following resource types 
		in order to use this module:</p>

		<ul>
<li>room</li>
		</ul>
		<h2>Defined resource restrictions</h2>
<h3>capability (resource types room)</h3><pre>&lt;resource name="special-classroom"&gt;
	&lt;restriction type="capability"&gt;special-capability&lt;/restriction&gt;
&lt;/resource&gt;</pre>
<p>Use this restriction to specify which capabilities does a certain classroom
have. You can have more than one capability per classroom.</p>
<p>A classroom has no capabilities by default.</p>
		<h2>Defined tuple restrictions</h2>
<h3>capability</h3>
<pre>&lt;event name="special-event" repeats="1"&gt;
	&lt;restriction type="capability"&gt;special-capability&lt;/restriction&gt;
&lt;/event&gt;</pre>
<p>Use this restriction to specify that the current event can only be scheduled
in rooms with the specified capability.</p>
<p>You can use more than one restriction per event. This means that this event
can only be scheduled in rooms that have all of the specified capabilities.</p>
<p>An event can be scheduled in any room by default.</p>
		<h2>Supported module options</h2>

		<h2>Module groups</h2>
		<p>This module belongs to the following groups:</p>
		<ul>
<li>School scheduling</li>
<li>Multiweek 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>