Back to index

fet  5.18.0
Public Member Functions | Public Attributes
TimeConstraint Class Reference

This class represents a time constraint. More...

#include <timeconstraint.h>

Inherited by ConstraintActivitiesEndStudentsDay, ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesNotOverlapping, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintActivitiesPreferredStartingTimes, ConstraintActivitiesPreferredTimeSlots, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintActivitiesSameStartingTime, ConstraintActivityEndsStudentsDay, ConstraintActivityPreferredStartingTime, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintBasicCompulsoryTime, ConstraintBreakTimes, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintMinGapsBetweenActivities, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsMaxGapsPerWeek, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsMaxHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsSetNotAvailableTimes, ConstraintSubactivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeacherMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeacherMinDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeacherNotAvailableTimes, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeachersMaxGapsPerDay, ConstraintTeachersMaxGapsPerWeek, ConstraintTeachersMaxHoursContinuously, ConstraintTeachersMaxHoursDaily, ConstraintTeachersMinDaysPerWeek, ConstraintTeachersMinHoursDaily, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintTwoActivitiesGrouped, and ConstraintTwoActivitiesOrdered.

List of all members.

Public Member Functions

 TimeConstraint ()
 True for mandatory constraints, false for non-mandatory constraints.
virtual ~TimeConstraint ()=0
 TimeConstraint (double wp)
 DEPRECATED COMMENT Constructor - please note that the maximum allowed weight is 100.0 The reason: unallocated activities must have very big conflict weight, and any other restrictions must have much more lower weight, so that the timetable can evolve when starting with uninitialized activities.
virtual double fitness (Solution &c, Rules &r, QList< double > &cl, QList< QString > &dl, QString *conflictsString=NULL)=0
 The function that calculates the fitness of a solution, according to this constraint.
virtual QString getXmlDescription (Rules &r)=0
 Returns an XML description of this constraint.
virtual bool computeInternalStructure (QWidget *parent, Rules &r)=0
 Computes the internal structure for this constraint.
virtual bool hasInactiveActivities (Rules &r)=0
virtual QString getDescription (Rules &r)=0
 Returns a small description string for this constraint.
virtual QString getDetailedDescription (Rules &r)=0
 Returns a detailed description string for this constraint.
virtual bool isRelatedToActivity (Rules &r, Activity *a)=0
 Returns true if this constraint is related to this activity.
virtual bool isRelatedToTeacher (Teacher *t)=0
 Returns true if this constraint is related to this teacher.
virtual bool isRelatedToSubject (Subject *s)=0
 Returns true if this constraint is related to this subject.
virtual bool isRelatedToActivityTag (ActivityTag *s)=0
 Returns true if this constraint is related to this activity tag.
virtual bool isRelatedToStudentsSet (Rules &r, StudentsSet *s)=0
 Returns true if this constraint is related to this students set.
virtual bool hasWrongDayOrHour (Rules &r)=0
virtual bool canRepairWrongDayOrHour (Rules &r)=0
virtual bool repairWrongDayOrHour (Rules &r)=0

Public Attributes

double weightPercentage
 The percentage weight of this constraint, 100% compulsory, 0% non-compulsory.
bool active
QString comments
int type
 Specifies the type of this constraint (using the above constants).

Detailed Description

This class represents a time constraint.

Definition at line 137 of file timeconstraint.h.


Constructor & Destructor Documentation

True for mandatory constraints, false for non-mandatory constraints.

Dummy constructor - needed for the static array of constraints. Any other use should be avoided.

Definition at line 112 of file timeconstraint.cpp.

{
       type=CONSTRAINT_GENERIC_TIME;
       
       active=true;
       comments=QString("");
}
TimeConstraint::~TimeConstraint ( ) [pure virtual]

Definition at line 120 of file timeconstraint.cpp.

{
}

DEPRECATED COMMENT Constructor - please note that the maximum allowed weight is 100.0 The reason: unallocated activities must have very big conflict weight, and any other restrictions must have much more lower weight, so that the timetable can evolve when starting with uninitialized activities.

Definition at line 124 of file timeconstraint.cpp.

{
       type=CONSTRAINT_GENERIC_TIME;

       weightPercentage=wp;
       assert(wp<=100 && wp>=0);

       active=true;
       comments=QString("");
}

Member Function Documentation

virtual bool TimeConstraint::canRepairWrongDayOrHour ( Rules r) [pure virtual]

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::computeInternalStructure ( QWidget *  parent,
Rules r 
) [pure virtual]

Computes the internal structure for this constraint.

It returns false if the constraint is an activity related one and it depends on only inactive activities.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual double TimeConstraint::fitness ( Solution c,
Rules r,
QList< double > &  cl,
QList< QString > &  dl,
QString *  conflictsString = NULL 
) [pure virtual]

The function that calculates the fitness of a solution, according to this constraint.

We need the rules to compute this fitness factor. If conflictsString!=NULL, it will be initialized with a text explaining where this restriction is broken.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

virtual QString TimeConstraint::getDescription ( Rules r) [pure virtual]

Returns a small description string for this constraint.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

virtual QString TimeConstraint::getDetailedDescription ( Rules r) [pure virtual]

Returns a detailed description string for this constraint.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

virtual QString TimeConstraint::getXmlDescription ( Rules r) [pure virtual]

Returns an XML description of this constraint.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::hasInactiveActivities ( Rules r) [pure virtual]

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::hasWrongDayOrHour ( Rules r) [pure virtual]

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::isRelatedToActivity ( Rules r,
Activity a 
) [pure virtual]

Returns true if this constraint is related to this activity.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::isRelatedToActivityTag ( ActivityTag s) [pure virtual]

Returns true if this constraint is related to this activity tag.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::isRelatedToStudentsSet ( Rules r,
StudentsSet s 
) [pure virtual]

Returns true if this constraint is related to this students set.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::isRelatedToSubject ( Subject s) [pure virtual]

Returns true if this constraint is related to this subject.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::isRelatedToTeacher ( Teacher t) [pure virtual]

Returns true if this constraint is related to this teacher.

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:

virtual bool TimeConstraint::repairWrongDayOrHour ( Rules r) [pure virtual]

Implemented in ConstraintActivitiesMaxSimultaneousInSelectedTimeSlots, ConstraintActivitiesOccupyMaxTimeSlotsFromSelection, ConstraintStudentsSetMaxGapsPerDay, ConstraintStudentsMaxGapsPerDay, ConstraintStudentsSetActivityTagMaxHoursDaily, ConstraintStudentsActivityTagMaxHoursDaily, ConstraintTeacherActivityTagMaxHoursDaily, ConstraintTeachersActivityTagMaxHoursDaily, ConstraintActivitiesEndStudentsDay, ConstraintStudentsIntervalMaxDaysPerWeek, ConstraintStudentsSetIntervalMaxDaysPerWeek, ConstraintTeachersIntervalMaxDaysPerWeek, ConstraintTeacherIntervalMaxDaysPerWeek, ConstraintTeacherMinHoursDaily, ConstraintTeachersMinHoursDaily, ConstraintActivityEndsStudentsDay, ConstraintTwoActivitiesOrdered, ConstraintThreeActivitiesGrouped, ConstraintTwoActivitiesGrouped, ConstraintTwoActivitiesConsecutive, ConstraintActivitiesSameStartingDay, ConstraintActivitiesSameStartingHour, ConstraintSubactivitiesPreferredStartingTimes, ConstraintActivitiesPreferredStartingTimes, ConstraintSubactivitiesPreferredTimeSlots, ConstraintActivitiesPreferredTimeSlots, ConstraintActivityPreferredStartingTimes, ConstraintActivityPreferredTimeSlots, ConstraintActivityPreferredStartingTime, ConstraintStudentsSetMinHoursDaily, ConstraintStudentsMinHoursDaily, ConstraintStudentsSetActivityTagMaxHoursContinuously, ConstraintStudentsActivityTagMaxHoursContinuously, ConstraintStudentsSetMaxHoursContinuously, ConstraintStudentsMaxHoursContinuously, ConstraintStudentsSetMaxHoursDaily, ConstraintStudentsMaxHoursDaily, ConstraintStudentsSetEarlyMaxBeginningsAtSecondHour, ConstraintStudentsEarlyMaxBeginningsAtSecondHour, ConstraintTeacherMaxGapsPerDay, ConstraintTeachersMaxGapsPerDay, ConstraintTeacherMaxGapsPerWeek, ConstraintTeachersMaxGapsPerWeek, ConstraintStudentsSetMaxGapsPerWeek, ConstraintStudentsMaxGapsPerWeek, ConstraintBreakTimes, ConstraintTeachersMinDaysPerWeek, ConstraintTeacherMinDaysPerWeek, ConstraintTeachersMaxDaysPerWeek, ConstraintTeacherMaxDaysPerWeek, ConstraintTeacherActivityTagMaxHoursContinuously, ConstraintTeachersActivityTagMaxHoursContinuously, ConstraintTeacherMaxHoursContinuously, ConstraintTeachersMaxHoursContinuously, ConstraintTeacherMaxHoursDaily, ConstraintTeachersMaxHoursDaily, ConstraintMinGapsBetweenActivities, ConstraintMaxDaysBetweenActivities, ConstraintMinDaysBetweenActivities, ConstraintActivitiesNotOverlapping, ConstraintActivitiesSameStartingTime, ConstraintStudentsSetNotAvailableTimes, ConstraintTeacherNotAvailableTimes, and ConstraintBasicCompulsoryTime.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 146 of file timeconstraint.h.

Definition at line 148 of file timeconstraint.h.

Specifies the type of this constraint (using the above constants).

Definition at line 153 of file timeconstraint.h.

The percentage weight of this constraint, 100% compulsory, 0% non-compulsory.

Definition at line 144 of file timeconstraint.h.


The documentation for this class was generated from the following files: