Add a transition time between intervals. It forces the distance between
the end of interval a and start of interval b that follows it to be at
least transition_time(a, b). This function must always return
a positive or null value.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["`DisjunctiveConstraint` in C++ enforces that a set of intervals do not overlap in time."],["It provides methods to access active, next, time cumulative, and time slack variables related to the intervals."],["You can define transition times between intervals to ensure a minimum separation."],["A sequence variable can be created from the constraint to represent the order of intervals."],["The class includes methods for accessing and manipulating these variables and transition times."]]],["The `DisjunctiveConstraint` class in C++ manages interval scheduling. Key actions include creating the constraint with a solver, intervals, and a name, and the ability to create a `SequenceVar` from it. Users can define transition times between intervals using `SetTransitionTime`, enforcing minimum distances. Additional data access is provided through `actives`, `nexts`, `time_cumuls`, and `time_slacks` methods, all returning vectors of `IntVar*`. The method `TransitionTime` returns the time between two indexes.\n"]]