Java Reference
Java Reference
gen/java/com/google/ortools/constraintsolver/IntervalVar.java
long durationMax()
void whenEndRange(Demon d)
void setPerformed(boolean val)
void whenDurationRange(Runnable closure)
IntExpr safeStartExpr(long unperformed_value)
These methods create expressions encapsulating the start, end and duration of the interval var.
long endMin()
These methods query, set, and watch the end position of the interval var.
void setStartRange(long mi, long ma)
boolean mustBePerformed()
These methods query, set, and watch the performed status of the interval var.
IntervalVar(long cPtr, boolean cMemoryOwn)
IntExpr endExpr()
boolean mayBePerformed()
The class IntExpr is the base of all integer expressions in constraint programming.
Definition: IntExpr.java:14
void setDurationMin(long m)
long oldEndMax()
void whenPerformedBound(Runnable closure)
long oldEndMin()
void setStartMin(long m)
boolean cannotBePerformed()
void whenEndBound(Demon d)
boolean isPerformedBound()
void setEndRange(long mi, long ma)
void whenDurationRange(Demon d)
void setDurationMax(long m)
IntExpr safeDurationExpr(long unperformed_value)
void setStartMax(long m)
void whenEndBound(Runnable closure)
boolean wasPerformedBound()
IntExpr startExpr()
These methods create expressions encapsulating the start, end and duration of the interval var.
static long getKMinValidValue()
The smallest acceptable value to be returned by StartMin()
IntExpr durationExpr()
long endMax()
void whenAnything(Runnable closure)
Attaches a closure awakened when anything about this interval changes.
A Demon is the base element of a propagation queue.
Definition: Demon.java:14
long oldStartMax()
static long getKMaxValidValue()
The largest acceptable value to be returned by EndMax()
void setEndMax(long m)
long oldStartMin()
void whenStartBound(Demon d)
NOLINT The PropagationBaseObject is a subclass of BaseObject that is also friend to the Solver class.
Definition: PropagationBaseObject.java:14
void whenStartBound(Runnable closure)
long startMax()
long oldDurationMax()
long oldDurationMin()
IntExpr safeEndExpr(long unperformed_value)
void setEndMin(long m)
void setDurationRange(long mi, long ma)
void whenPerformedBound(Demon d)
void whenAnything(Demon d)
Attaches a demon awakened when anything about this interval changes.
void whenDurationBound(Runnable closure)
long durationMin()
These methods query, set, and watch the duration of the interval var.
IntExpr performedExpr()
Interval variables are often used in scheduling.
void whenStartRange(Demon d)
void whenEndRange(Runnable closure)
long startMin()
These methods query, set, and watch the start position of the interval var.
void accept(ModelVisitor visitor)
Accepts the given visitor.
void whenStartRange(Runnable closure)
void whenDurationBound(Demon d)