Java Reference
Java Reference
boolean bound()
Returns true if the min and the max of the expression are equal.
Definition: IntExpr.java:89
The class IntExpr is the base of all integer expressions in constraint programming.
Definition: IntExpr.java:20
void whenRange(Runnable closure)
Attach a demon that will watch the min or the max of the expression.
Definition: IntExpr.java:129
IntExpr(long cPtr, boolean cMemoryOwn)
Definition: IntExpr.java:23
The class IntVar is a subset of IntExpr.
void setRange(long l, long u)
This method sets both the min and the max of the expression.
Definition: IntExpr.java:75
A Demon is the base element of a propagation queue.
Definition: Demon.java:22
void whenRange(Demon d)
Attach a demon that will watch the min or the max of the expression.
Definition: IntExpr.java:122
NOLINT The PropagationBaseObject is a subclass of BaseObject that is also friend to the Solver clas...
Definition: PropagationBaseObject.java:17
IntVar varWithName(String name)
Creates a variable from the expression and set the name of the resulting var.
Definition: IntExpr.java:114
void range(int[] l, int[] u)
By default calls Min() and Max(), but can be redefined when Min and Max code can be factorized.
Definition: IntExpr.java:68