Java Reference
Java Reference
IntExpr.java
Go to the documentation of this file.
A Demon is the base element of a propagation queue.
Definition: Demon.java:22
The class IntExpr is the base of all integer expressions in constraint programming.
Definition: IntExpr.java:20
IntExpr(long cPtr, boolean cMemoryOwn)
Definition: IntExpr.java:23
IntVar varWithName(String name)
Creates a variable from the expression and set the name of the resulting var.
Definition: IntExpr.java:114
boolean bound()
Returns true if the min and the max of the expression are equal.
Definition: IntExpr.java:89
void setRange(long l, long u)
This method sets both the min and the max of the expression.
Definition: IntExpr.java:75
void whenRange(Demon d)
Attach a demon that will watch the min or the max of the expression.
Definition: IntExpr.java:122
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
void whenRange(Runnable closure)
Attach a demon that will watch the min or the max of the expression.
Definition: IntExpr.java:129
The class IntVar is a subset of IntExpr.
NOLINT The PropagationBaseObject is a subclass of BaseObject that is also friend to the Solver clas...
Definition: PropagationBaseObject.java:17