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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.3 (Linux)">
<META NAME="AUTHOR" CONTENT="Daniel Schockett">
<META NAME="CREATED" CONTENT="20050428;1023200">
<META NAME="CHANGEDBY" CONTENT="Liviu Lalescu">
<META NAME="CHANGED" CONTENT="20050707;16424000">
<STYLE>
<!--
@page { size: 8.5in 11in; margin: 0.75in }
P { margin-bottom: 0.08in }
-->
</STYLE>
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<DIV TYPE=HEADER>
<P ALIGN=RIGHT STYLE="margin-bottom: 0.2in"><BR><BR>
</P>
</DIV>
<P ALIGN=CENTER STYLE="margin-left: 0.74in; text-indent: -0.76in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><FONT SIZE=4><B>FET – Time
Constraints Documentation</B></FONT></FONT></P>
<P ALIGN=CENTER STYLE="margin-left: 0.74in; text-indent: -0.76in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=RIGHT STYLE="margin-left: 0.74in; text-indent: -0.76in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">Constraint2ActivitiesConsecutive</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
First_Activity_Id, Second_Activity_Id</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>You have two
activities that you want to schedule one after the other, in the same
day. Order is important. It adds, to the fitness of the chromosome, a
value that grows as the 2 activities are scheduled farther one from
each other. For the moment, fitness factor increases with one unit
for every additional hour and one unit for every day (the optimal
being 0 - when the starting time of the second activity is the ending
time of the first one). A user needed a timetable to respect the
requirement that 2 activities follow one after the other (order is
important). For compulsory and non-compulsory, normal error reporting
is done. The conflicts are a difference in days + a difference in
hours. The number of conflicts is multiplied with 2 if the first
activity is weekly (not bi-weekly) and again multiplied with 2 if the
second activity is weekly.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">Constraint2ActivitiesGrouped</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
First_Activity_Id, Second_Activity_Id</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>You have two
activities that you want to schedule one after the other, in the same
day. Order is not important. It adds, to the fitness of the
chromosome, a value that grows as the 2 activities are scheduled
farther one from each other. For the moment, fitness factor increases
with one unit for every additional hour and one unit for every day.
(For hours, we have a 0 as minimum if the activities are OK, a
positive constant value if they overlap and a positive increasing
value if they are not touching. For days - we have a simple absolute
difference). A user needed a timetable to respect the requirement
that 2 activities follow one after the other (order is not
important).For compulsory and non-compulsory, normal error reporting
is done. The conflicts reported are: the difference in days +or- the
difference in hours if the activities are too far from each other. It
is a constant number if the activities overlap; 0 if the hours are
OK. The number of conflicts is multiplied with 2 if the first
activity is weekly (not bi-weekly) and again multiplied with 2 if the
second activity is weekly.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintActivitiesNotOverlapping</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Number_of_Activities, Activity_Id, Activity_Id</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Possible Subtags: </B>More
Activity_Id</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It aims at
scheduling a set of activities so that they do not overlap. The
number of conflicts is considered the number of overlapping hours.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintActivitiesPreferredTimes</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Teacher_Name, Students_Name, Subject_Name, Subject_Tag,
Number_of_Preferred_Times, <B>Preferred_Time</B></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Preferred_Time Subtags:
</B>Preferred_Day, Preferred_Hour</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It returns conflicts
if a set of activities is scheduled in another interval than the
preferred set of times. The set of activities is specified by a
subject, teacher, students or a combination of these. A user
suggested that ConstraintActivityPreferredTimes should be more
general. Now, you can specify a teacher, the students and a subject
as a filter to a set of activities that must be scheduled in certain
intervals.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintActivitiesSameStartingHour</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>???</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It aims at
scheduling a set of activities at the same starting hour. The number
of conflicts is considered the sum of differences in the scheduling
time for all pairs of activities. The difference in the scheduling
time for a pair of activities is considered the difference in the
starting hour. TODO: Weekly activities are counted as two and
bi-weekly activities as one (really necessary?). IMPORTANT: The
compulsory constraints of this kind implement chromosome repairing,
so no conflicts will be reported</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintActivitiesSameStartingTime</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Number_of_Activities, Activity_Id, Activity_Id</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Possible Subtags: </B>More
Activity_Id</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It aims at
scheduling a set of activities at the same starting time. The number
of conflicts is considered the sum of differences in the scheduling
time for all pairs of activities. The difference in the scheduling
time for a pair of activities is considered the sum between the
difference in the starting day and the difference in the starting
hour. TODO: Weekly activities are counted as two and bi-weekly
activities as one (really necessary?). IMPORTANT: Starting with
version 3.2.3, the compulsory constraints of this kind implement
chromosome repairing, so no conflicts will be reported. For
compulsory constraints, the solution candidate is repaired before
evaluation (so all solutions will respect these constraints and there
will be no conflicts reported). This is faster, as an input file from
user Ian Fantom proved. For non-compulsory constraints, the method is
conflict reporting (slower, worse than the above method).</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in"><FONT FACE="Garamond, serif">ConstraintActivityEndsDay</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Activity_Id</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It returns a
conflicts factor that increases with the number of lessons that
follow after this activity (in the same day).</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in"><FONT FACE="Garamond, serif">ConstraintActivityPreferredTime</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Activity_Id, Preferred_Hour, Preferred_Day</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It adds, to the
fitness of the chromosome, a fitness factor that grows as the
activity is scheduled farther from the wanted time For the moment,
fitness factor increases with one unit for every hour and one unit
for every day. For compulsory constraints, the solution candidate is
repaired before evaluation (so all solutions will respect these
constraints and there will be no conflicts reported). This is faster
(proved practically, not theoretically). For non-compulsory
constraints, the method is conflict reporting. The procedure reports
a conflicts factor that is increasing with the distance to the
desired period. This might generate worse solutions, if you are only
interested in the exact placement. In this case, please use
ConstraintActivityPreferredTimes with only one preferred time.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintActivityPreferredTimes</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Activity_Id, Number_of_Preferred_Times, <B>Preferred_Time</B></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Preferred_Time Subtags:
</B>Preferred_Day, Preferred_Hour</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It returns conflicts
if the activity is scheduled in another interval than the preferred
set of times. You can specify a set of time slots when this activity
can be scheduled (a kind of OR of more
ConstraintActivityPreferredTime). Important: For only one
non-compulsory preferred time, ConstraintActivityPreferredTimes might
behave better than ConstraintActivityPreferredTime, depending on
whether you are interested in minimizing the distance to this
preferred time or only in reaching the exact preferred time. Please
see the detailed observation in the explanation of
ConstraintActivityPreferredTime.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintBasicCompulsoryTime</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>This class comprises
all the basic compulsory constraints (constraints which must be
fulfilled for any timetable) - the time allocation part.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintBreak</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory, Day,
Start_Hour, End_Hour</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It constrains the
timetable to not schedule any activity in the specified day, between
the start hour and end hour.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintMinNDaysBetweenActivities</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory, Day,
Number_of_Activities, Activity_Id, Activity_Id, MinDays</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Possible Subtags: </B>More
Activity_Id</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It refers to a set
of activities and involves a constant, N. For every pair of
activities in the set, it does not allow the distance(in days)
between them to be less than N. If you specify N=1, then this
constraint means that no two activities can be scheduled in the same
day. N=2 means that each two subactivities must be separated by at
least one day. Example: 3 activities and N=2. Then, one can place
them on Monday, Wednesday and Friday (5 days week). Example2: 2
activities, N=3. Then, one can place them on Monday and Thursday, on
Monday and Friday, then on Tuesday and Friday (5 days week).</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintStudentsEarly</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It adds, to the
fitness of the chromosome, a fitness factor that is related to how
early the students begin their courses. The result is a timetable
having more activities scheduled at the beginning of the day.
IMPORTANT: biweekly activities are treated as weekly ones, for speed
and because in normal situations this does not matter. It is a
constraint that imposes the condition that all the students must
begin their courses as early as possible. You have to be careful with
this constraint: if any set of students begins the classes later than
the first hour in a certain day, you will get a conflict.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintStudentsNHoursDaily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
MaxHoursDaily, MinHoursDaily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>The result is a
timetable respecting the condition that all of the students must not
have too little or too much hours in a day.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintStudentsNoGaps</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It adds, to the
fitness of the chromosome, a conflicts factor computed from the gaps
existing in the timetable (regarding the students). The overall
result is a timetable having less gaps for the students.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintStudentsSetIntervalMaxDaysPerWeek</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Students, Start_Hour, End_Hour, Max_Intervals</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>For a certain
students set: The purpose is that a certain interval not be scheduled
more than n times in a week (for example, there must be only 2
occupied intervals between hours 3 and 6, which might be on Monday
and on Tuesday. Quite a difficult and long name. A user needed a
constraint to disallow more than 2 afternoons per week for a students
set. This constraint is more general. You can specify an interval (by
the start and end hour), a students set and the maximum number of
days in a week when it is permitted to have activities in this time
interval.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintStudentsSetNHoursDaily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
MaxHoursDaily, MinHoursDaily, Students</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>The result is a
timetable respecting the condition that this students set must not
have too little or too much hours in a day.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintStudentsSetNoGaps</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Students</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It adds, to the
fitness of the chromosome, a conflicts factor computed from the gaps
existing in the timetable (regarding the specified students set).</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintStudentsSetNotAvailable</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Students, Day, Start_Hour, End_Hour</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It returns a fitness
factor equal to the product of this restriction's weight and the
number of conflicting hours for each students' set (hours when it is
not available, but a course is scheduled at that time). For the
moment, this is done for a certain day and an hour interval. (on day
"Day", between hours "Start_Hour" and
"End_Hour").</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintTeacherMaxDaysPerWeek</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Teacher_Name, Max_Days_Per_Week</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>The resulting
timetable must respect the requirement that this teacher must not
have too much working days per week.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintTeacherNotAvailable</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Teacher_Name, Day, Start_Hour, End_Hour</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It returns a fitness
factor a number equal to the product of this restriction's weight and
the number of conflicting hours for each teacher (hours when he is
not available, but a course is scheduled at that time). For the
moment, this is done for a certain day and an hour interval. (For
teacher "Teacher_Name", on day "Day", between
hours "Start_Hour" and "End_Hour").</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintTeachersNoGaps</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>It adds, to the
fitness of the chromosome, a conflicts factor computed from the gaps
existing in the timetable (regarding the teachers). The overall
result is a timetable having less gaps for the teachers.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintTeachersMaxHoursContinuously</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Maximum_Hours_Continuously</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>This is a
constraint, aimed at obtaining timetables which do not allow more
than "Maximum_Hours_Continuously" hours in a row for any
teacher.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintTeachersMaxHoursDaily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Maximum_Hours_Daily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>This is a
constraint, aimed at obtaining timetables which do not allow more
than "Maximum_Hours_Daily" hours in a day for any teacher.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT><FONT FACE="Garamond, serif">ConstraintTeachersSubgroupsMaxHoursDaily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Maximum_Hours_Daily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>A constraint aimed
at obtaining timetables which do not allow for a certain teacher and
a certain subgroup more than X hours per day.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P>ConstraintTeachersSubjectTagMaxHoursContinuously</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Maximum_Hours_Daily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>A constraint aimed
at obtaining timetables which do not allow for a certain teacher and
a certain group of subjects by tag more than X hours per day.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P>ConstraintTeachersSubjectTagsMaxHoursContinuously</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Subtags: </B>Weight, Compulsory,
Maximum_Hours_Daily</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<FONT FACE="Garamond, serif"><B>Description: </B>A constraint aimed
at obtaining timetables which do not allow for a certain teacher and
a certain set of groups of subjects more than X hours per day.</FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in">
<BR>
</P>
<P ALIGN=RIGHT STYLE="margin-left: 0.75in; text-indent: -0.75in; margin-bottom: 0in; font-weight: medium">
<FONT FACE="Garamond, serif"><FONT SIZE=3>this documentation by
Daniel S.</FONT></FONT></P>
</BODY>
</HTML>
|