Package org.jacop.constraints
Class ProfileItemCondition
java.lang.Object
org.jacop.constraints.ProfileItem
org.jacop.constraints.ProfileItemCondition
Defines a basic structure used to update profile DisjointConditional when
some rectangles can share the same place.
- Version:
- 4.10
-
Field Summary
FieldsFields inherited from class org.jacop.constraints.ProfileItem
max, min, type, value -
Constructor Summary
ConstructorsConstructorDescriptionProfileItemCondition(int a, int b, int val, int[] rect) ProfileItemCondition(int a, int b, int val, LinkedList<int[]> rects) -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddRect(int[] r) (package private) intexclusiveRectsSize(ExclusiveList exList) (package private) voidoverlap(ProfileItemCondition a, ProfileItemCondition left, ProfileItemCondition overlap, ProfileItemCondition right, ExclusiveList exList, int[] r) (package private) voidset(int a, int b, int val, int[] r) (package private) voidset(int a, int b, int val, LinkedList<int[]> r) toString()
-
Field Details
-
rectangles
LinkedList<int[]> rectangles
-
-
Constructor Details
-
ProfileItemCondition
ProfileItemCondition() -
ProfileItemCondition
ProfileItemCondition(int a, int b, int val, int[] rect) -
ProfileItemCondition
ProfileItemCondition(int a, int b, int val, LinkedList<int[]> rects)
-
-
Method Details
-
addRect
void addRect(int[] r) -
exclusiveRectsSize
-
overlap
void overlap(ProfileItemCondition a, ProfileItemCondition left, ProfileItemCondition overlap, ProfileItemCondition right, ExclusiveList exList, int[] r) -
set
void set(int a, int b, int val, int[] r) -
set
-
toString
- Overrides:
toStringin classProfileItem
-