Package org.jacop.constraints
Class IntRectangle
java.lang.Object
org.jacop.constraints.IntRectangle
Defines a rectangle with integer origine and length used in the diffn
constraint.
- Version:
- 4.8
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
add
(int o, int l) (package private) int
dim()
boolean
(package private) boolean
intervalOverlap
(int min1, int max1, int min2, int max2) (package private) int
length
(int i) (package private) int
origin
(int i) boolean
(package private) void
setDim
(int i) toString()
-
Field Details
-
dim
int dim -
length
int[] length -
origin
int[] origin
-
-
Constructor Details
-
IntRectangle
-
IntRectangle
public IntRectangle(int size) -
IntRectangle
public IntRectangle(int[] R)
-
-
Method Details