Package org.jacop.constraints.diffn
Class Rectangle
java.lang.Object
org.jacop.constraints.diffn.Rectangle
Defines a rectangle used in the diffn constraint.
- Version:
- 4.10
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean(package private) intect(int dim) (package private) intest(int dim) (package private) booleanexists()(package private) boolean(package private) booleaninstantiatedBefore(Store store) (package private) intlct(int dim) (package private) IntVarlength(int dim) (package private) intlst(int dim) (package private) boolean(package private) boolean(package private) IntVarorigin(int dim) (package private) boolean(package private) booleantoString()
-
Field Details
-
index
int index -
origin
It specifies the the rectangle. -
length
-
-
Constructor Details
-
Rectangle
It constructs a rectangle.- Parameters:
o1- origin in dimension 0o2- origin in dimension 1l1- length in dimension 0l2- length in dimension 1
-
Rectangle
It constructs a rectangle.- Parameters:
list- it specifies for each dimension (one after the other) its origin and length.
-
Rectangle
It constructs a rectangle.- Parameters:
list- it specifies for each dimension (one after the other) its origin and length.
-
-
Method Details