C++ Reference: class IntervalVar
Note: This documentation is automatically generated.
Interval variables are often used in scheduling. The main characteristics of an IntervalVar are the start position, duration, and end date. All these characteristics can be queried and set, and demons can be posted on their modifications.An important aspect is optionality: an IntervalVar can be performed or not. If unperformed, then it simply does not exist, and its characteristics cannot be accessed any more. An interval var is automatically marked as unperformed when it is not consistent anymore (start greater than end, duration < 0...)
Method | |
---|---|
Accept | Return type: Arguments: Accepts the given visitor. |
CannotBePerformed | Return type: |
DurationExpr | Return type: |
DurationMax | Return type: |
DurationMin | Return type: These methods query, set, and watch the duration of the interval var. |
EndExpr | Return type: |
EndMax | Return type: |
EndMin | Return type: These methods query, set, and watch the end position of the interval var. |
IntervalVar | Arguments: |
~IntervalVar | |
IsPerformedBound | Return type: |
MayBePerformed | Return type: |
MustBePerformed | Return type: These methods query, set, and watch the performed status of the interval var. |
OldDurationMax | Return type: |
OldDurationMin | Return type: |
OldEndMax | Return type: |
OldEndMin | Return type: |
OldStartMax | Return type: |
OldStartMin | Return type: |
PerformedExpr | Return type: |
SafeDurationExpr | Return type: Arguments: |
SafeEndExpr | Return type: Arguments: |
SafeStartExpr | Return type: Arguments: These methods create expressions encapsulating the start, end and duration of the interval var. If the interval var is unperformed, they will return the unperformed_value. |
SetDurationMax | Return type: Arguments: |
SetDurationMin | Return type: Arguments: |
SetDurationRange | Return type: Arguments: |
SetEndMax | Return type: Arguments: |
SetEndMin | Return type: Arguments: |
SetEndRange | Return type: Arguments: |
SetPerformed | Return type: Arguments: |
SetStartMax | Return type: Arguments: |
SetStartMin | Return type: Arguments: |
SetStartRange | Return type: Arguments: |
StartExpr | Return type: These methods create expressions encapsulating the start, end and duration of the interval var. Please note that these must not be used if the interval var is unperformed. |
StartMax | Return type: |
StartMin | Return type: These methods query, set, and watch the start position of the interval var. |
WasPerformedBound | Return type: |
WhenAnything | Return type: Arguments: Attaches a demon awakened when anything about this interval changes. |
WhenAnything | Return type: Arguments: Attaches a closure awakened when anything about this interval changes. |
WhenAnything | Return type: Arguments: Attaches an action awakened when anything about this interval changes. |
WhenDurationBound | Return type: Arguments: |
WhenDurationBound | Return type: Arguments: |
WhenDurationBound | Return type: Arguments: |
WhenDurationRange | Return type: Arguments: |
WhenDurationRange | Return type: Arguments: |
WhenDurationRange | Return type: Arguments: |
WhenEndBound | Return type: Arguments: |
WhenEndBound | Return type: Arguments: |
WhenEndBound | Return type: Arguments: |
WhenEndRange | Return type: Arguments: |
WhenEndRange | Return type: Arguments: |
WhenEndRange | Return type: Arguments: |
WhenPerformedBound | Return type: Arguments: |
WhenPerformedBound | Return type: Arguments: |
WhenPerformedBound | Return type: Arguments: |
WhenStartBound | Return type: Arguments: |
WhenStartBound | Return type: Arguments: |
WhenStartBound | Return type: Arguments: |
WhenStartRange | Return type: Arguments: |
WhenStartRange | Return type: Arguments: |
WhenStartRange | Return type: Arguments: |