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.10
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidadd(int o, int l) (package private) intdim()boolean(package private) booleanintervalOverlap(int min1, int max1, int min2, int max2) (package private) intlength(int i) (package private) intorigin(int i) boolean(package private) voidsetDim(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