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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054
|
<!DOCTYPE module-documentation PUBLIC "-//Tablix//DTD Module Reference 0.2.1//EN" "http://www.tablix.org/releases/dtd/modulesref2r0.dtd">
<module-documentation>
<module>
<basic-info>
<filename>available.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@tablix.org</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
<group>General</group>
<group>Multiweek scheduling</group>
</module-groups>
<description>
<p>Specifies that a particular constant resource is not available
at certain timeslots.</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>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
<resource-restriction>
<name>not-available</name>
<required-resourcetypes>
<all-resourcetypes/>
</required-resourcetypes>
<description>
<pre><restriction type="not-available">day period</restriction></pre>
<p>This tuple restriction specifies that the current resource is not available
at time slot at the specified day and period.</p>
<p>For example:</p>
<pre><resourcetype type="teacher">
<resource name="A">
<restriction type="not-available">1 1</restriction>
</resource>
</resource></pre>
<p>This means that no event for teacher A will be scheduled on the second
period of the second day (day and period numbers start at 0).</p>
</description>
</resource-restriction>
</defined-resource-restrictions>
<defined-tuple-restrictions>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>consecutive.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
<credits>
<p>
Original idea for this module by Nick Robinson (npr@bottlehall.co.uk).
Module was later rewritten to serve as an example for the new updater
function feature in 0.3.1 by Tomaz Solc.</p>
</credits>
</basic-info>
<module-groups>
<group>School scheduling</group>
<group>Multiweek scheduling</group>
</module-groups>
<description>
<p>Adds support for events that must be scheduled adjacent to one
another. This module uses updater functions, so the weight and mandatory
values are ignored.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>consecutive</name>
<description>
<p>This restriction specifies that the repeats of the current event need to
be scheduled consecutively.</p>
<p>Please note that this module distinguishes events by the
assignments of constant resources and event names. The way events are
defined in the XML file has no effect. The following two examples will
therefore both result in one block of four consecutive "Lecture" events.</p>
<p>Example 1:</p>
<pre><event name ="Lecture" repeats="2">
<resource type="teacher" name="A"/>
<resource type="class" name="B"/>
<restriction type="consecutive"/>
</event>
<event name ="Lecture" repeats="2">
<resource type="teacher" name="A"/>
<resource type="class" name="B"/>
<restriction type="consecutive"/>
</event></pre>
<p>Example 2:</p>
<pre><event name ="Lecture" repeats="4">
<resource type="teacher" name="A"/>
<resource type="class" name="B"/>
<restriction type="consecutive"/>
</event></pre>
<p>If you would like to have two blocks of two consecutive "Lecture" events,
you must either change the names of two events like in the following example
or use the periods-per-block restriction.</p>
<pre><event name ="Lecture 1" repeats="2">
<resource type="teacher" name="A"/>
<resource type="class" name="B"/>
<restriction type="consecutive"/>
</event>
<event name ="Lecture 2" repeats="2">
<resource type="teacher" name="A"/>
<resource type="class" name="B"/>
<restriction type="consecutive"/>
</event></pre>
</description>
</tuple-restriction>
<tuple-restriction>
<name>periods-per-block</name>
<description>
<p>This restriction specifies that the repeats of the current event need to
be scheduled blocks of N consecutive events. If the number of repeats is
not divisible by N, then one block will have less than N events.</p>
<p>Events in the following example will be scheduled in two blocks of three
consecutive events, two blocks of two consecutive events and one single
event.</p>
<pre><event name ="Lecture" repeats="6">
<resource type="teacher" name="A"/>
<resource type="class" name="B"/>
<restriction type="periods-per-block">3</restriction>
</event>
<event name ="Lecture" repeats="5">
<resource type="teacher" name="A"/>
<resource type="class" name="B"/>
<restriction type="periods-per-block">2</restriction>
</event></pre>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>events_sameday.so</filename>
<author>Antonio Duran</author>
<authoremail>antonio.duran.terres@gmail.com</authoremail>
<credits>
<p>
Modified by Tomaz Solc</p>
</credits>
</basic-info>
<module-groups>
<group>School scheduling</group>
<group>General</group>
</module-groups>
<description>
<p>
Adds a weight if two specified events are scheduled on the same day.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>not-same-day-as</name>
<description>
<p>Set this restriction to prevent the current event from being scheduled in
the same day as the one specified in the restriction.</p>
<p>Example:</p>
<pre><event name="A" repeats="3">
...
<restriction type="not-same-day-as">B</restriction>
</event>
<event name="B" repeats="4">
...
</event></pre>
<p>In this example no "A" event will be scheduled on the same day as a "B"
event</p>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>fixedtime.so</filename>
<author>Nick Robinson</author>
<authoremail>npr@bottlehall.co.uk</authoremail>
<credits>
<p>Extended by Tomaz Solc</p>
</credits>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<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>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>fixed-day</name>
<description>
<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>
</description>
</tuple-restriction>
<tuple-restriction>
<name>fixed-period</name>
<description>
<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>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>freemorning.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
<group>Multiweek scheduling</group>
</module-groups>
<description>
<p>Adds a weight if a constant resource of the specified type
has the first event of a day later than the specified first period.</p>
<p>This module is commonly used in school scheduling when it is desired that
all teachers and/or all students start their day before or at a specified
hour.</p>
<p>For example, if you do not want students to have free periods in the
morning:</p>
<pre><module name="freemorning.so" weight="50" mandatory="yes">
<option name="resourcetype">class</option>
<option name="first-period">0</option>
</module></pre>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
</defined-tuple-restrictions>
<defined-options>
<module-option>
<name>first-period</name>
<description>
<p>Use this option to specify the first period. Resource types specified with
the "resourcetype" option will have events scheduled so, that the first
event each day will be at or before this period.</p>
<p>If you don't specify this option, the default value of 0 is used.</p>
</description>
</module-option>
<module-option>
<name>resourcetype</name>
<description>
<p>Use this option to specify one or more constant resource types. Specified
resource types will have their timetables checked by this module.</p>
</description>
</module-option>
</defined-options>
</module>
<module>
<basic-info>
<filename>freeperiod.so</filename>
<author>Nick Robinson</author>
<authoremail>npr@bottlehall.co.uk</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<p>Specifies that some time slots should never be used by any lessons.</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>
</description>
<required-resourcetypes>
<resourcetype>teacher</resourcetype>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
<resource-restriction>
<name>day-off</name>
<required-resourcetypes>
<resourcetype>teacher</resourcetype>
</required-resourcetypes>
<description>
<pre><restriction type="day-off">day</restriction></pre>
<p>Synonym for 'free-day'</p>
</description>
</resource-restriction>
<resource-restriction>
<name>free-day</name>
<required-resourcetypes>
<resourcetype>teacher</resourcetype>
</required-resourcetypes>
<description>
<pre><restriction type="free-day">day</restriction></pre>
<p>This option specifies that no slots on "day" should ever
be used to schedule lessons for a teacher.</p>
</description>
</resource-restriction>
<resource-restriction>
<name>free-period</name>
<required-resourcetypes>
<resourcetype>teacher</resourcetype>
</required-resourcetypes>
<description>
<pre><restriction type="free-period">day period</restriction></pre>
<p>This option specifies that the time slot at "day period" should never
be used to schedule lessons for a teacher.</p>
</description>
</resource-restriction>
</defined-resource-restrictions>
<defined-tuple-restrictions>
</defined-tuple-restrictions>
<defined-options>
<module-option>
<name>free-period</name>
<description>
<pre><option name="free-period">day period</option></pre>
<p>This option specifies that the time slot at "day period" should never
be used to schedule lessons.</p>
</description>
</module-option>
</defined-options>
</module>
<module>
<basic-info>
<filename>holes.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<p>Adds a weight for each hole (free period) in the timetable for the
constant resources of the specified type.</p>
<p>For example: two free periods surrounded by non-free periods add two weights.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
</defined-tuple-restrictions>
<defined-options>
<module-option>
<name>resourcetype</name>
<description>
<p>Use this option to specify one or more constant resource types. Specified
resource types will have their timetables checked for holes by this module.</p>
<p>For example, if you do not want students to have free periods in the middle
of lectures:</p>
<pre><module name="holes.so" weight="50" mandatory="yes">
<option name="resourcetype">class</option>
</module></pre>
</description>
</module-option>
</defined-options>
</module>
<module>
<basic-info>
<filename>perday.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<p>This module calculates weekly dispersion of non-free time slots for
different resources (usually classes and teachers). Number of added weights
is equal to the sum of dispersions for all classes.</p>
<p>This module tries to ensure that students have their work evenly
distributed throughout the week. For example: This module would add zero
weights if a class has 5 non-free periods on each day of the week. On the
other hand, it would add 2 weights if this class has 6 non-free periods on
monday, 4 on tuesday and 5 on wednesday, thursday and friday. This is done
by calculating mathematical dispersion of non-free periods through the
weekdays.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
</defined-tuple-restrictions>
<defined-options>
<module-option>
<name>resourcetype</name>
<description>
<p>Use this option to specify one or more constant resource types. Specified
resource types will have their timetables checked by this module.</p>
</description>
</module-option>
</defined-options>
</module>
<module>
<basic-info>
<filename>placecapability.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
<group>Multiweek scheduling</group>
</module-groups>
<description>
<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 "preferredroom.so" module if you need a non-mandatory restriction of
a similar type.</p>
</description>
<required-resourcetypes>
<resourcetype>room</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
<resource-restriction>
<name>capability</name>
<required-resourcetypes>
<resourcetype>room</resourcetype>
</required-resourcetypes>
<description>
<pre><resource name="special-classroom">
<restriction type="capability">special-capability</restriction>
</resource></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>
</description>
</resource-restriction>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>capability</name>
<description>
<pre><event name="special-event" repeats="1">
<restriction type="capability">special-capability</restriction>
</event></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>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>preferredroom.so</filename>
<author>Nick Robinson</author>
<authoremail>npr@bottlehall.co.uk</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<p>Adds a weight whenever a class, teacher or an event is not in a
preferred room.</p>
<p>In case multiple conflicting "preferred-room" restrictions are defined
for an event, the restriction with the highest priority is used.</p>
<p>Event restrictions have the highest priority, class resource restrictions
have a middle priority and teacher resource restrictions have the lowest
priority.</p>
</description>
<required-resourcetypes>
<resourcetype>class</resourcetype>
<resourcetype>room</resourcetype>
<resourcetype>teacher</resourcetype>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
<resource-restriction>
<name>preferred-room</name>
<required-resourcetypes>
<resourcetype>teacher</resourcetype>
<resourcetype>class</resourcetype>
</required-resourcetypes>
<description>
<pre><restriction type="preferred-room">room name</restriction></pre>
<p>This restriction can be used in teacher or class resources and specifies
that current class or teacher should teach have all lessons scheduled in the
room specified in the restriction.</p>
</description>
</resource-restriction>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>preferred-room</name>
<description>
<pre><restriction type="preferred-room">room name</restriction></pre>
<p>This restriction specifies the current lesson should be scheduled in the
room specified in the restriction.</p>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>preferredtime.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
<credits>
<p>
Ideas taken from a patch for Tablix 0.0.3 by
Jaume Obrador <obrador@espaiweb.net></p>
<p>Ported to version 0.2.0 and extended by Nick Robinson <npr@bottlehall.co.uk></p>
</credits>
</basic-info>
<module-groups>
<group>General</group>
</module-groups>
<description>
<p>Adds a weight whenever an event is not scheduled at the specified
preferred day and/or time slot.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>preferred-day</name>
<description>
<pre><restriction type="preferred-day">day</restriction></pre>
<p>This restriction specifies the preferred day for an event.</p>
</description>
</tuple-restriction>
<tuple-restriction>
<name>preferred-period</name>
<description>
<pre><restriction type="preferred-period">period</restriction></pre>
<p>This restriction specifies the preferred period for an event.</p>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>recurrence.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
</basic-info>
<module-groups>
<group>Multiweek scheduling</group>
</module-groups>
<description>
<p>This module enables you to specify how should Tablix distribute
the recurrences of an event throughout a multiweek timetable.</p>
<p>This module only affects resource domains, so the weight and mandatory
values are ignored.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>recurrence</name>
<description>
<p>This restriction specifies two recurrence parameters: The week when the
recurrence starts and how many times per week should this event appear.</p>
<p>Consider the following example:</p>
<pre><event name="Lecture" repeats="24">
<resource type="teacher" name="A"/>
<resource type="class" name="B"/>
<restriction type="recurrence">2 3</restriction>
</event></pre>
<p>This means that events named 'Lecture' will appear for 8 consecutive weeks
(24 repeats divided by 3 recurrences per week) starting on the third week
(week are numbered starting from 0) with 3 events per week.</p>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
<module-option>
<name>days-per-week</name>
<description>
<p>This option specifies the number of work days per week. If this option is
not specified a default number of 5 is used.</p>
<p>Example:</p>
<pre><module name="recurrence.so" weight="60" mandatory="yes">
<option name="days-per-week">6</option>
</module>
.
.
.
<resourcetype type="time">
<matrix width="30" height="5"/>
</resourcetype></pre>
<p>This combination of options would result in a timetable that is 6 weeks long
(30 weeks long divided by 6 days per week).</p>
<p>Please note that if you changed the default number of days per week you will
also have to give this option to the 'htmlcss2' export module to get the
expected result.</p>
</description>
</module-option>
</defined-options>
</module>
<module>
<basic-info>
<filename>sameday.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
<credits>
<p>
Ideas taken from a patch for Tablix 0.0.3 by
Jaume Obrador <obrador@espaiweb.net></p>
</credits>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<p>
Adds a weight if a class or a teacher (as specified by the "resourcetype"
module option) has the same subject more than N
times in a day.</p>
<p>Default for N is 1. Default value can be changed with the module option
"default". Default value for N can also be overridden for individual
teachers, classes and events with various restrictions.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
<resource-restriction>
<name>ignore-sameday</name>
<required-resourcetypes>
<all-resourcetypes/>
</required-resourcetypes>
<description>
<pre><resourcetype type="class">
<resource name="example-class">
<restriction type="ignore-sameday"/>
</resource>
</resourcetype></pre>
<p>Set this restriction to a class or a teacher that you don't want to be
checked for multiple occurrences of the same subject in a day.</p>
<p>This module then ignores classes that have this restriction, however this
setting can be overridden for individual events if "set-sameday" restriction
is used on an event for this class or teacher.</p>
</description>
</resource-restriction>
<resource-restriction>
<name>set-sameday</name>
<required-resourcetypes>
<all-resourcetypes/>
</required-resourcetypes>
<description>
<pre><resourcetype type="class">
<resource name="example-class">
<restriction type="set-sameday">2</restriction>
</resource>
</resourcetype></pre>
<p>With this restriction you can set a maximum number of equal events a class
or a teacher can have in a day. This setting can be overridden for
individual events if "set-sameday" event restriction is used on an event
for this class or teacher.</p>
</description>
</resource-restriction>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>consecutive</name>
<description>
<p>This is an alias for "ignore-sameday" restriction. It is defined for
convenience when this module is used together with consecutive.so module.</p>
</description>
</tuple-restriction>
<tuple-restriction>
<name>ignore-sameday</name>
<description>
<p>Set this restriction to all events that you do not want to be checked for
multiple occurences per day.</p>
<p>This retriction overrides the default setting and settings made by
any resource restrictions.</p>
</description>
</tuple-restriction>
<tuple-restriction>
<name>periods-per-block</name>
<description>
<p>This is an alias for "set-sameday-blocksize" restriction. It is defined for
convenience when this module is used together with consecutive.so module.</p>
</description>
</tuple-restriction>
<tuple-restriction>
<name>set-sameday</name>
<description>
<pre><event name="example repeats="5">
...
<restriction type="set-sameday">2</restriction>
</resourcetype></pre>
<p>With this restriction you can set a maximum number of events of type type
that a class or a teacher can have in a day.</p>
<p>This retriction overrides the default setting and settings made by
any resource restrictions.</p>
</description>
</tuple-restriction>
<tuple-restriction>
<name>set-sameday-blocksize</name>
<description>
<p>With this restriction you can tell this module that the current event
will be scheduled in blocks of this number of equal consecutive events.</p>
<p>Module will then consider a block of events as a single event when checking
for multiple occurences per day.</p>
<p>Default block size is 1.</p>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
<module-option>
<name>default</name>
<description>
<p>Use this option to set the default number of equal events classes or
teachers can have in day.</p>
</description>
</module-option>
<module-option>
<name>resourcetype</name>
<description>
<p>Use this option to specify one or more constant resource types. Specified
resource types will have their timetables checked by this module.</p>
<p>Use option</p>
<pre><option name="resourcetype">class</option></pre>
<p>to get the same behaviour as this module had before Tablix version 0.3.1.</p>
</description>
</module-option>
</defined-options>
</module>
<module>
<basic-info>
<filename>sametime.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
<group>Multiweek scheduling</group>
</module-groups>
<description>
<p>Adds a weight whenever a teacher or a class is required to be in two
rooms at the same time.</p>
</description>
<required-resourcetypes>
<resourcetype>class</resourcetype>
<resourcetype>room</resourcetype>
<resourcetype>teacher</resourcetype>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
<resource-restriction>
<name>conflicts-with</name>
<required-resourcetypes>
<resourcetype>class</resourcetype>
<resourcetype>teacher</resourcetype>
</required-resourcetypes>
<description>
<pre><restriction type="conflicts-with">name</restriction></pre>
<p>This restriction specifies that current class or teacher should never have
lessons at the same time as the class or teacher specified in the
restriction.</p>
<p>There are two common uses for this restriction: When multiple classes share
an event and when multiple teachers share an event. Consider the following
example:</p>
<p>Let's say we have two groups of students. Each group has its own timetable
except a couple of lessons which they share.</p>
<p>We define each group of students plus an extra group for the shared lessons.</p>
<pre><resourcetype type="class">
<resource name="Group 1">
<restriction type="conflicts-with">Group 1+2</restriction>
</resource>
<resource name="Group 2">
<restriction type="conflicts-with">Group 1+2</restriction>
</resource>
<resource name="Group 1+2"/>
</resourcetype></pre>
<p>This way group 1+2 will never have lessons at the same time as
groups 1 and 2 and students from either group will be able to attend
lectures in group 1+2.</p>
<p>Multiple teachers per event can be defined in a similar way.</p>
</description>
</resource-restriction>
</defined-resource-restrictions>
<defined-tuple-restrictions>
</defined-tuple-restrictions>
<defined-options>
<module-option>
<name>recursive-conflicts</name>
<description>
<p>If this module option is present (any option value is ignored), then all
"conflicts-with" restrictions become recursive.</p>
<p>For example: if class A conflicts with class B and class A conflicts with
class C, then class B will also automatically conflict with class C.</p>
<p>Without this option class C will not conflict with class B unless you
specify this with another "conflicts-with" restriction.</p>
</description>
</module-option>
</defined-options>
</module>
<module>
<basic-info>
<filename>sametimeas.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
<credits>
<p>
Module ported to 0.2.x kernel and extended by
Nick Robinson <npr@bottlehall.co.uk>
Modified to use updater functions by Antonio Duran</p>
</credits>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<p>Adds support for scheduleding events at the same time.
This module uses updater functions, so the weight and mandatory
values are ignored.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>same-time-as</name>
<description>
<pre><restriction type="same-time-as">event name</restriction></pre>
<p>This restriction specifies that the current event needs to be scheduled
at the same time as the event identified in the restriction.</p>
<pre><event name="a" repeats="4">
...
<restriction type="same-time-as">b</restriction>
</event>
<event name="b" repeats="5">
...
</event></pre>
<p>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.</p>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>timeblocks.so</filename>
<author>Antonio Duran</author>
<authoremail>antonio.duran.terres@gmail.com</authoremail>
<credits>
<p>
This module is a minor modification of consecutive2 module by Tomaz Solc
Original consecutive module by Nick Robinson</p>
</credits>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<p>Adds a weight whenever events are not scheduled in blocks of
consecutive periods.</p>
<p>Use this module to schedule multiple repetitions of an event in one or more
blocks.</p>
<p>This module is deprecated. consecutive.so module provides the same
functionality with better performance.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>periods-per-block</name>
<description>
<pre><restriction type="periods-per-block">periods</restriction></pre>
<p>This restriction specifies that the repeats of the current event need to
be scheduled in blocks of 'periods' consecutive periods.</p>
<p>For example:</p>
<pre><event name="test" repeats="6">
<resource type="teacher" name="a"/>
<resource type="class" name="2"/>
<restriction type="periods-per-block">2</restriction>
</event></pre>
<p>This restriction tells Tablix to schedule 6 events "test" in three blocks
of two consecutive "test" events.</p>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>timeblocks_sameday.so</filename>
<author>Antonio Duran</author>
<authoremail>antonio.duran.terres@gmail.com</authoremail>
<credits>
<p>
Additional error checking by Tomaz Solc</p>
</credits>
</basic-info>
<module-groups>
<group>School scheduling</group>
</module-groups>
<description>
<p>
Adds a weight if two timeblocks are scheduled on the same day.</p>
<p>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.</p>
<p>This module is deprecated. sameday.so module in combination with
consecutive.so provides the same functionality with better performance.</p>
</description>
<required-resourcetypes>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
<tuple-restriction>
<name>periods-per-block</name>
<description>
<pre><restriction type="periods-per-block">periods</restriction></pre>
<p>Set this restriction to schedule blocks of events on different days.</p>
<p>For example:</p>
<pre><event name="test" repeats="6">
<resource type="teacher" name="a"/>
<resource type="class" name="2"/>
<restriction type="periods-per-block">2</restriction>
</event></pre>
<p>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.</p>
</description>
</tuple-restriction>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>timeplace.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
<group>Multiweek scheduling</group>
</module-groups>
<description>
<p>Adds a weight whenever two events are scheduled in the same room at
the same time.</p>
</description>
<required-resourcetypes>
<resourcetype>room</resourcetype>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
</defined-tuple-restrictions>
<defined-options>
</defined-options>
</module>
<module>
<basic-info>
<filename>walk.so</filename>
<author>Tomaz Solc</author>
<authoremail>tomaz.solc@siol.net</authoremail>
</basic-info>
<module-groups>
<group>School scheduling</group>
<group>Multiweek scheduling</group>
</module-groups>
<description>
<p>This module calculates how many times constant resources of the
specified type (usually classes or teachers) must change classrooms.
It then adds equal number of weights.</p>
<p>This module is commonly used in school scheduling when it is desired that
teachers and/or students change classrooms between lectures as little
as possible.</p>
</description>
<required-resourcetypes>
<resourcetype>room</resourcetype>
<resourcetype>time</resourcetype>
</required-resourcetypes>
<defined-resource-restrictions>
</defined-resource-restrictions>
<defined-tuple-restrictions>
</defined-tuple-restrictions>
<defined-options>
<module-option>
<name>resourcetype</name>
<description>
<p>Use this option to specify one or more constant resource types. Specified
resource types will have their timetables checked by this module.</p>
</description>
</module-option>
</defined-options>
</module>
</module-documentation>
|